Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001589/0.001589, allocations: 99.39 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.002022/0.002022, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.488/2.488, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.034/5.034, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006267, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739/1.74, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002245/1.742, allocations: 0.5734 MB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002317/1.745, allocations: 0.8585 MB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/1.745, allocations: 0 / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/1.745, allocations: 3.938 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/1.745, allocations: 27.89 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/1.745, allocations: 19.98 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/1.746, allocations: 63.86 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/1.746, allocations: 41.25 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/1.746, allocations: 35.86 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/1.747, allocations: 35.83 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/1.747, allocations: 4 kB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/1.747, allocations: 4 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/1.747, allocations: 19.86 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/1.747, allocations: 41.64 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/1.747, allocations: 94.02 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.747, allocations: 0 / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.951e-06/1.747, allocations: 0 / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.803e-05/1.747, allocations: 0 / 0.9826 GB, free: 4.473 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001652/1.749, allocations: 462.8 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.531e-05/1.749, allocations: 8.031 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.545e-05/1.749, allocations: 38.55 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/1.749, allocations: 15.81 kB / 0.9831 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/1.75, allocations: 176.2 kB / 0.9833 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.75, allocations: 4 kB / 0.9833 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/1.75, allocations: 19.95 kB / 0.9833 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/1.75, allocations: 91.19 kB / 0.9834 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.75, allocations: 0 / 0.9834 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/1.75, allocations: 7.938 kB / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.75, allocations: 0 / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/1.751, allocations: 79.89 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.752, allocations: 416.4 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/1.752, allocations: 66.5 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.752, allocations: 0 / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/1.752, allocations: 34.69 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/1.752, allocations: 0 / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0007293/1.753, allocations: 125.5 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/1.753, allocations: 59.3 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/1.754, allocations: 160.4 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/1.754, allocations: 25.7 kB / 0.9844 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.754, allocations: 96.14 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/1.754, allocations: 23.88 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.754, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003988/1.754, allocations: 322.8 kB / 0.9848 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/1.755, allocations: 31.98 kB / 0.9848 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/1.755, allocations: 31.98 kB / 0.9848 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/1.755, allocations: 23.98 kB / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.755, allocations: 0 / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004065/1.755, allocations: 109.5 kB / 0.985 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.755, allocations: 4 kB / 0.985 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.755, allocations: 3.984 kB / 0.985 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.755, allocations: 0 / 0.985 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/1.756, allocations: 11.94 kB / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.756, allocations: 3.953 kB / 0.985 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/1.756, allocations: 43.88 kB / 0.985 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.756, allocations: 3.984 kB / 0.985 GB, free: 1.801 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0002442/1.756, allocations: 120.3 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/1.756, allocations: 7.906 kB / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/1.756, allocations: 16.31 kB / 0.9852 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.757, allocations: 0 / 0.9852 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.757, allocations: 0 / 0.9852 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.757, allocations: 7.938 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/1.757, allocations: 201.6 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.757, allocations: 256 / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.757, allocations: 15.98 kB / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.757, allocations: 0 / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/1.757, allocations: 4 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.757, allocations: 0 / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.757, allocations: 4 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/1.758, allocations: 195.3 kB / 0.9856 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.758, allocations: 100.9 kB / 0.9857 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/1.758, allocations: 4 kB / 0.9857 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/1.758, allocations: 27.97 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.759, allocations: 15.97 kB / 0.9857 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.759, allocations: 4 kB / 0.9857 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002252/1.759, allocations: 121 kB / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.759, allocations: 0 / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000372/1.759, allocations: 15.91 kB / 0.9859 GB, free: 0.8711 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 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001499/1.761, allocations: 0.7318 MB / 0.9866 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004575/1.761, allocations: 67.97 kB / 0.9866 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.761, allocations: 0 / 0.9866 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/1.762, allocations: 48.03 kB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/1.762, allocations: 7.984 kB / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.765, allocations: 0.684 MB / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.766, allocations: 0.7043 MB / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001126/1.766, allocations: 4 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.766, allocations: 27.48 kB / 0.9881 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.766, allocations: 4 kB / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/1.789, allocations: 2.252 MB / 0.9903 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/1.789, allocations: 193.4 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/4.847, allocations: 0 / 0.9905 GB, free: 12.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat