Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008179/0.0008178, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009033/0.0009034, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.619/2.619, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7863, allocations: 146.8 MB / 0.9812 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.0009031/0.7872, allocations: 394.4 kB / 0.9815 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.7882, allocations: 0.7885 MB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.7882, allocations: 0 / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.7882, allocations: 4 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.7883, allocations: 0 / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.7884, allocations: 7.984 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.7885, allocations: 19.92 kB / 0.9823 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.7886, allocations: 15.98 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.7887, allocations: 3.938 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.7887, allocations: 11.98 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.7887, allocations: 0 / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.7887, allocations: 4 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.7888, allocations: 0 / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.7888, allocations: 33.58 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.784e-05/0.7889, allocations: 11.97 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7889, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7889, allocations: 4 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7889, allocations: 0 / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004312/0.7893, allocations: 341.6 kB / 0.9827 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7894, allocations: 12.03 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.7894, allocations: 34.55 kB / 0.9828 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.7894, allocations: 0 / 0.9828 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7896, allocations: 159.1 kB / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7896, allocations: 8 kB / 0.983 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.7896, allocations: 4 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7898, allocations: 55.92 kB / 0.983 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7898, allocations: 0 / 0.983 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7898, allocations: 4 kB / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.7898, allocations: 0 / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.79, allocations: 51.89 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.7904, allocations: 244.9 kB / 0.9833 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.7905, allocations: 50.52 kB / 0.9833 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.7906, allocations: 20.91 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7906, allocations: 7.984 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.7907, allocations: 38.5 kB / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.7907, allocations: 0 / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.791, allocations: 97.64 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.7911, allocations: 51.41 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.7912, allocations: 106 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.7912, allocations: 25.7 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.7912, allocations: 80.14 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7913, allocations: 15.81 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.7913, allocations: 7.938 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7914, allocations: 314.8 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.7915, allocations: 15.98 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.7916, allocations: 27.98 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.7917, allocations: 19.92 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7917, allocations: 0 / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.7919, allocations: 85.67 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7919, allocations: 11.94 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7919, allocations: 0 / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7919, allocations: 0 / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.792, allocations: 11.98 kB / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.792, allocations: 0 / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.7921, allocations: 16.02 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.7921, allocations: 0 / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.7922, allocations: 105.8 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.7922, allocations: 3.953 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.7924, allocations: 88.72 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7924, allocations: 192 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7924, allocations: 4 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.7925, allocations: 3.984 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.7926, allocations: 161.6 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7926, allocations: 0 / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.7927, allocations: 11.98 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7927, allocations: 4.031 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.7927, allocations: 3.953 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7927, allocations: 0 / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7927, allocations: 0 / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.793, allocations: 179.5 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.793, allocations: 77.11 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.7931, allocations: 0 / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.7931, allocations: 15.94 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.7932, allocations: 0 / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.7932, allocations: 0 / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.7933, allocations: 83.28 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7933, allocations: 4.031 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002068/0.7935, allocations: 4 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005898/0.7941, allocations: 0.7047 MB / 0.9857 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.7943, allocations: 47.91 kB / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7943, allocations: 0 / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.7944, allocations: 24.08 kB / 0.9857 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.7947, allocations: 17.28 kB / 0.9857 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.7951, allocations: 138.2 kB / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.7954, allocations: 0.6731 MB / 0.9865 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.7954, allocations: 8.062 kB / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.7954, allocations: 11.42 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7954, allocations: 0 / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.8066, allocations: 1.007 MB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.8068, allocations: 193.5 kB / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.509, allocations: 0 / 0.9877 GB, free: 15.15 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat does not exist to compare? outputFormat=mat