Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.001248/0.001248, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001497/0.001497, allocations: 177.3 kB / 15.95 MB, free: 216 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.522/1.522, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.621/2.621, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8762, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001297/0.8775, allocations: 0.9333 MB / 0.9818 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.8783, allocations: 393.4 kB / 0.9821 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.8783, allocations: 0 / 0.9821 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.8784, allocations: 0 / 0.9821 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.8784, allocations: 4 kB / 0.9821 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.8789, allocations: 79.72 kB / 0.9822 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.8789, allocations: 15.97 kB / 0.9822 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.879, allocations: 0 / 0.9822 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.879, allocations: 11.94 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.8791, allocations: 7.984 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8791, allocations: 0 / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.8792, allocations: 79.8 kB / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.8793, allocations: 4 kB / 0.9823 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.8793, allocations: 25.7 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.8795, allocations: 75.88 kB / 0.9824 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8795, allocations: 0 / 0.9824 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8795, allocations: 0 / 0.9824 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8795, allocations: 0 / 0.9824 GB, free: 4.609 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.0004521/0.88, allocations: 376.7 kB / 0.9828 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.88, allocations: 8.031 kB / 0.9828 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.8801, allocations: 30.56 kB / 0.9828 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.8801, allocations: 7.938 kB / 0.9828 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.8802, allocations: 167 kB / 0.983 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.8802, allocations: 4 kB / 0.983 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.8803, allocations: 7.938 kB / 0.983 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.8804, allocations: 41.64 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.8804, allocations: 7.938 kB / 0.9831 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.8804, allocations: 0 / 0.9831 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8804, allocations: 0 / 0.9831 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.8805, allocations: 7.984 kB / 0.9831 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.8808, allocations: 252.9 kB / 0.9833 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.8809, allocations: 38.5 kB / 0.9833 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.8809, allocations: 3.953 kB / 0.9833 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.881, allocations: 51.5 kB / 0.9834 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.8811, allocations: 0 / 0.9834 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001955/0.8813, allocations: 73.67 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8813, allocations: 59.34 kB / 0.9835 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.8814, allocations: 105.8 kB / 0.9836 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.8814, allocations: 25.7 kB / 0.9836 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.8814, allocations: 80.14 kB / 0.9837 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.8815, allocations: 11.81 kB / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8815, allocations: 4 kB / 0.9837 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8816, allocations: 314.8 kB / 0.984 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.8816, allocations: 7.984 kB / 0.984 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.8816, allocations: 35.44 kB / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.8817, allocations: 20.16 kB / 0.9841 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8817, allocations: 0 / 0.9841 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.612e-05/0.8818, allocations: 73.52 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8818, allocations: 8 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8818, allocations: 64 / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8818, allocations: 4 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.8819, allocations: 11.98 kB / 0.9842 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8819, allocations: 4 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.882, allocations: 7.906 kB / 0.9842 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.882, allocations: 4 kB / 0.9842 GB, free: 2.551 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.237e-05/0.8821, allocations: 105.8 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.8821, allocations: 12.14 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.8821, allocations: 7.562 kB / 0.9843 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8821, allocations: 7.984 kB / 0.9843 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8821, allocations: 7.938 kB / 0.9843 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8821, allocations: 0 / 0.9843 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.8824, allocations: 298.6 kB / 0.9846 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8824, allocations: 7.891 kB / 0.9846 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.8824, allocations: 7.984 kB / 0.9846 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8824, allocations: 0 / 0.9846 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8825, allocations: 0 / 0.9846 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8825, allocations: 0 / 0.9846 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8825, allocations: 4 kB / 0.9846 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8826, allocations: 163.4 kB / 0.9848 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.8827, allocations: 89.05 kB / 0.9849 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.8827, allocations: 0 / 0.9849 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.8827, allocations: 0 / 0.9849 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.8828, allocations: 4 kB / 0.9849 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.8828, allocations: 4 kB / 0.9849 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.8828, allocations: 83.27 kB / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8828, allocations: 4 kB / 0.985 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000276/0.8831, allocations: 32 kB / 0.985 GB, free: 1.633 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006841/0.8838, allocations: 0.7626 MB / 0.9858 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.8839, allocations: 39.92 kB / 0.9858 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8839, allocations: 3.938 kB / 0.9858 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.884, allocations: 19.98 kB / 0.9858 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.8841, allocations: 0 / 0.9858 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.8848, allocations: 0.7977 MB / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.885, allocations: 0.6809 MB / 0.9873 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.8851, allocations: 4 kB / 0.9873 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.8851, allocations: 11.44 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8851, allocations: 0 / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.8967, allocations: 1.751 MB / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.8969, allocations: 223.6 kB / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.677, allocations: 0 / 0.9892 GB, free: 13.34 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat does not exist to compare? outputFormat=mat