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.001439/0.001439, allocations: 97.97 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.001515/0.001515, 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.703/1.703, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.201/3.201, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003847, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9578, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001511/0.9594, allocations: 422.4 kB / 0.9813 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.9611, allocations: 0.8103 MB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.9611, allocations: 0 / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.9612, allocations: 0 / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.9613, allocations: 3.984 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.9614, allocations: 11.98 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.9615, allocations: 27.91 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9617, allocations: 15.92 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.9618, allocations: 11.98 kB / 0.9822 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.9619, allocations: 19.91 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.9619, allocations: 4 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.9619, allocations: 0 / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.962, allocations: 11.94 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.962, allocations: 25.7 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.9621, allocations: 31.88 kB / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9621, allocations: 0 / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9621, allocations: 4 kB / 0.9822 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9622, allocations: 0 / 0.9822 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.0006502/0.9628, allocations: 365.5 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9629, allocations: 12.03 kB / 0.9826 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.9629, allocations: 30.56 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.963, allocations: 7.906 kB / 0.9826 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.9632, allocations: 163.1 kB / 0.9828 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9632, allocations: 3.938 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.9632, allocations: 8 kB / 0.9828 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.9636, allocations: 81.59 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9636, allocations: 4 kB / 0.9829 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.9636, allocations: 4 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9636, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.9641, allocations: 87.92 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.9647, allocations: 260.9 kB / 0.9832 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.965, allocations: 78.42 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.965, allocations: 0 / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.9651, allocations: 30.56 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9651, allocations: 4 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0007786/0.9659, allocations: 161.7 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.9659, allocations: 55.34 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9661, allocations: 109.8 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.9661, allocations: 29.7 kB / 0.9837 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.9661, allocations: 80.14 kB / 0.9838 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.9662, allocations: 19.73 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.9662, allocations: 4 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9664, allocations: 314.8 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.9666, allocations: 39.97 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.9668, allocations: 43.95 kB / 0.9842 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.967, allocations: 39.97 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.967, allocations: 0 / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004456/0.9674, allocations: 125.6 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.9675, allocations: 7.984 kB / 0.9843 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9675, allocations: 3.938 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9675, allocations: 3.938 kB / 0.9843 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.9677, allocations: 23.92 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.9677, allocations: 0 / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.9678, allocations: 23.98 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.9679, allocations: 4 kB / 0.9844 GB, free: 2.469 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 0.0001002/0.968, allocations: 105.8 kB / 0.9845 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.968, allocations: 11.86 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.9686, allocations: 133.8 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.9686, allocations: 0 / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9686, allocations: 0 / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9686, allocations: 4 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.9688, allocations: 165.7 kB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9688, allocations: 4 kB / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.969, allocations: 15.98 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.969, allocations: 7.938 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.969, allocations: 11.94 kB / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.969, allocations: 0 / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.969, allocations: 0 / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.9696, allocations: 215.5 kB / 0.985 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.9696, allocations: 81.02 kB / 0.9851 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.9697, allocations: 4 kB / 0.9851 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.9698, allocations: 19.92 kB / 0.9851 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.9699, allocations: 4 kB / 0.9851 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.9699, allocations: 0 / 0.9851 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001765/0.9701, allocations: 91.27 kB / 0.9852 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9701, allocations: 0 / 0.9852 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003187/0.9704, allocations: 8 kB / 0.9852 GB, free: 1.5 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.0008896/0.9713, allocations: 0.7475 MB / 0.986 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.9718, allocations: 91.92 kB / 0.986 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9718, allocations: 0 / 0.986 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.972, allocations: 47.91 kB / 0.9861 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.9723, allocations: 15.94 kB / 0.9861 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.9729, allocations: 164.6 kB / 0.9863 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.9734, allocations: 0.6926 MB / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.9734, allocations: 0 / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.9735, allocations: 19.38 kB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.9735, allocations: 0 / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.9918, allocations: 1.278 MB / 0.9882 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.9922, allocations: 186.2 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.401, allocations: 0 / 0.9884 GB, free: 14.25 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