Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001092/0.001092, allocations: 86.09 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.001242/0.001242, 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.58/1.58, allocations: 223.2 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.784/2.784, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9043, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001187/0.9056, allocations: 0.507 MB / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.9071, allocations: 1.132 MB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.9072, allocations: 4 kB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.9072, allocations: 7.922 kB / 0.9828 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.9073, allocations: 7.875 kB / 0.9828 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.9078, allocations: 122.7 kB / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.908, allocations: 123.7 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.9082, allocations: 27.97 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.9083, allocations: 43.89 kB / 0.9831 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.9084, allocations: 47.81 kB / 0.9831 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.9084, allocations: 8 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.9085, allocations: 12 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.9085, allocations: 11.92 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.9086, allocations: 37.7 kB / 0.9832 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.9088, allocations: 111.7 kB / 0.9833 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9088, allocations: 0 / 0.9833 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9088, allocations: 0 / 0.9833 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.9088, allocations: 4 kB / 0.9833 GB, free: 4.086 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000712/0.9095, allocations: 423 kB / 0.9837 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.9096, allocations: 8.031 kB / 0.9837 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.9097, allocations: 42.5 kB / 0.9837 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.9097, allocations: 7.906 kB / 0.9837 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.9099, allocations: 171 kB / 0.9839 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.9099, allocations: 8 kB / 0.9839 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.9099, allocations: 12 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.9102, allocations: 89.55 kB / 0.984 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9102, allocations: 0 / 0.984 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.9102, allocations: 8 kB / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.9102, allocations: 4 kB / 0.984 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.9105, allocations: 74.81 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.9112, allocations: 392.5 kB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.9114, allocations: 50.56 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.9115, allocations: 40.92 kB / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.9115, allocations: 4 kB / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.9118, allocations: 87.36 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 4.539e-06/0.9118, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.000461/0.9123, allocations: 145.5 kB / 0.9848 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.9124, allocations: 55.41 kB / 0.9848 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.9125, allocations: 121.7 kB / 0.985 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.9125, allocations: 37.69 kB / 0.985 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.9127, allocations: 99.95 kB / 0.9851 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.9127, allocations: 19.83 kB / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.9127, allocations: 0 / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9129, allocations: 326.8 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.9131, allocations: 59.91 kB / 0.9855 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.9132, allocations: 91.33 kB / 0.9856 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.9134, allocations: 77.67 kB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9134, allocations: 0 / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004119/0.9138, allocations: 207.2 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.9139, allocations: 37.7 kB / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9139, allocations: 3.938 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9139, allocations: 0 / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.914, allocations: 12.05 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9141, allocations: 8 kB / 0.9859 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.9143, allocations: 47.95 kB / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.9143, allocations: 11.98 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000118/0.9145, allocations: 129.7 kB / 0.9861 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.9145, allocations: 7.906 kB / 0.9861 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.9145, allocations: 8.375 kB / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9145, allocations: 4 kB / 0.9861 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9145, allocations: 0 / 0.9861 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9145, allocations: 3.984 kB / 0.9861 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.9147, allocations: 189.6 kB / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9147, allocations: 0 / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.9148, allocations: 15.98 kB / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9148, allocations: 0 / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9148, allocations: 4 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9148, allocations: 0 / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9149, allocations: 320 / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.9151, allocations: 144.9 kB / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.9152, allocations: 85.02 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.9152, allocations: 3.938 kB / 0.9865 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.9153, allocations: 11.98 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.9154, allocations: 19.97 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.9154, allocations: 4 kB / 0.9866 GB, free: 388 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.9155, allocations: 91.27 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9155, allocations: 0 / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002271/0.9157, allocations: 27.94 kB / 0.9867 GB, free: 268 kB / 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007066/0.9164, allocations: 0.6788 MB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.9168, allocations: 183.3 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9168, allocations: 0 / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.917, allocations: 43.95 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.9172, allocations: 21 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.9186, allocations: 0.694 MB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.919, allocations: 0.6926 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.9191, allocations: 8.188 kB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.9191, allocations: 27.36 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9191, allocations: 0 / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.9349, allocations: 2.407 MB / 0.9913 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.9353, allocations: 201.9 kB / 0.9915 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.84, allocations: 1.125 kB / 0.9915 GB, free: 11.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat does not exist to compare? outputFormat=mat