Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.0008163/0.0008163, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008687/0.0008687, allocations: 168.7 kB / 15.95 MB, free: 204 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.458/1.458, allocations: 223.3 MB / 240 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.703/2.703, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 12 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8461, allocations: 146.8 MB / 0.9812 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0009569/0.8471, allocations: 430.3 kB / 0.9816 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.8482, allocations: 0.7985 MB / 0.9824 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.8482, allocations: 0 / 0.9824 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.8483, allocations: 3.938 kB / 0.9824 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.8484, allocations: 7.984 kB / 0.9824 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.8485, allocations: 4 kB / 0.9824 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.8486, allocations: 43.84 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.8487, allocations: 8 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.8488, allocations: 15.92 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.8489, allocations: 15.92 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.8489, allocations: 4 kB / 0.9825 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.8489, allocations: 0 / 0.9825 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.8489, allocations: 15.97 kB / 0.9825 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.849, allocations: 29.64 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.262e-05/0.849, allocations: 31.94 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8491, allocations: 0 / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8491, allocations: 4 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8491, allocations: 3.938 kB / 0.9825 GB, free: 4.879 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005963/0.8497, allocations: 365.5 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8497, allocations: 8.031 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.8498, allocations: 34.55 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.8498, allocations: 11.91 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.85, allocations: 159.1 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.85, allocations: 4 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.85, allocations: 4 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.8503, allocations: 77.61 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8504, allocations: 4 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8504, allocations: 7.875 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8504, allocations: 0 / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.8507, allocations: 87.92 kB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.8511, allocations: 264.9 kB / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.8513, allocations: 74.48 kB / 0.9836 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.8515, allocations: 48.91 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.8515, allocations: 7.938 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.8516, allocations: 38.55 kB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8516, allocations: 0 / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.00056/0.8522, allocations: 153.6 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.8522, allocations: 55.41 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.8523, allocations: 113.8 kB / 0.984 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.8524, allocations: 25.7 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.8524, allocations: 84.12 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.8525, allocations: 23.73 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.8525, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8526, allocations: 310.8 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.8528, allocations: 47.95 kB / 0.9845 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.8529, allocations: 43.91 kB / 0.9845 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.8531, allocations: 39.97 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8531, allocations: 0 / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.8534, allocations: 125.6 kB / 0.9847 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8534, allocations: 9.25 kB / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8534, allocations: 0 / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8535, allocations: 0 / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.8536, allocations: 23.98 kB / 0.9847 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.8536, allocations: 0 / 0.9847 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.8537, allocations: 19.98 kB / 0.9847 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.8537, allocations: 0 / 0.9847 GB, free: 2.426 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 (3): * Single equations (assignments): 3 * 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.11e-05/0.8538, allocations: 109.8 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.8539, allocations: 15.86 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.8542, allocations: 129.5 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8542, allocations: 7.938 kB / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8542, allocations: 0 / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8542, allocations: 0 / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.8544, allocations: 165.7 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8544, allocations: 3.938 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.8545, allocations: 23.97 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.8545, allocations: 7.953 kB / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.8546, allocations: 0 / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8546, allocations: 4 kB / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8546, allocations: 0 / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.8549, allocations: 215.4 kB / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.855, allocations: 89 kB / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.855, allocations: 3.953 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.8551, allocations: 20.41 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.8552, allocations: 0 / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.8552, allocations: 0 / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.8552, allocations: 91.27 kB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8552, allocations: 0 / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002174/0.8555, allocations: 8 kB / 0.9856 GB, free: 1.445 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 (3): * Single equations (assignments): 3 * 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.000751/0.8562, allocations: 0.7514 MB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.8565, allocations: 91.92 kB / 0.9864 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8566, allocations: 0 / 0.9864 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.8567, allocations: 47.97 kB / 0.9864 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.857, allocations: 17.42 kB / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.8575, allocations: 158.3 kB / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.8579, allocations: 0.6848 MB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.8579, allocations: 7.938 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.858, allocations: 15.44 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of SimCode: time 1.703e-06/0.858, allocations: 0 / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.8708, allocations: 1.283 MB / 0.9885 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.871, allocations: 197.7 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.666, allocations: 2.109 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat