Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.0007741/0.0007739, 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.0008445/0.0008445, 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.275/1.275, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.299/2.299, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7919, allocations: 146.8 MB / 0.9811 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001767/0.7938, allocations: 1.187 MB / 0.9823 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.7945, allocations: 411.4 kB / 0.9827 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.7945, allocations: 4 kB / 0.9827 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.7946, allocations: 7.984 kB / 0.9827 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.7947, allocations: 3.938 kB / 0.9827 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.7948, allocations: 23.97 kB / 0.9827 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.7949, allocations: 51.78 kB / 0.9828 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.795, allocations: 8 kB / 0.9828 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.7951, allocations: 19.92 kB / 0.9828 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.7952, allocations: 15.92 kB / 0.9828 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.7952, allocations: 4 kB / 0.9828 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.7952, allocations: 4 kB / 0.9828 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.7952, allocations: 11.97 kB / 0.9828 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.7953, allocations: 37.64 kB / 0.9829 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.074e-05/0.7954, allocations: 26.34 kB / 0.9829 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7954, allocations: 0 / 0.9829 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7954, allocations: 0 / 0.9829 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7954, allocations: 0 / 0.9829 GB, free: 4.594 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005029/0.7959, allocations: 359.2 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7959, allocations: 12.03 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.796, allocations: 30.56 kB / 0.9833 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.796, allocations: 7.906 kB / 0.9833 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7962, allocations: 171.1 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7962, allocations: 3.984 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.7962, allocations: 4 kB / 0.9835 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.7963, allocations: 65.56 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7964, allocations: 0 / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.7964, allocations: 4 kB / 0.9835 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.7964, allocations: 7.938 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.7965, allocations: 23.98 kB / 0.9835 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.797, allocations: 308.6 kB / 0.9838 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.7971, allocations: 62.62 kB / 0.9839 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.7971, allocations: 24.88 kB / 0.9839 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.7971, allocations: 0 / 0.9839 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.7973, allocations: 75.41 kB / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.7973, allocations: 0 / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002258/0.7976, allocations: 101.5 kB / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.7976, allocations: 55.39 kB / 0.9841 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.7977, allocations: 113.8 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.7977, allocations: 25.7 kB / 0.9843 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.7978, allocations: 92.12 kB / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.7978, allocations: 19.66 kB / 0.9844 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.7978, allocations: 4 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.798, allocations: 318.8 kB / 0.9847 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.798, allocations: 12 kB / 0.9847 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.7981, allocations: 51.42 kB / 0.9848 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.7981, allocations: 23.89 kB / 0.9848 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7981, allocations: 0 / 0.9848 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001377/0.7983, allocations: 97.52 kB / 0.9849 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7983, allocations: 5.562 kB / 0.9849 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.7983, allocations: 0 / 0.9849 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7983, allocations: 4 kB / 0.9849 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.7984, allocations: 11.98 kB / 0.9849 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7984, allocations: 7.969 kB / 0.9849 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.7985, allocations: 12 kB / 0.9849 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7985, allocations: 384 / 0.9849 GB, free: 2.281 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: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001046/0.7986, allocations: 127.5 kB / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.7986, allocations: 11.88 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.7986, allocations: 11.97 kB / 0.9851 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7987, allocations: 3.938 kB / 0.9851 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7987, allocations: 0 / 0.9851 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7987, allocations: 4 kB / 0.9851 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.7991, allocations: 358.5 kB / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7991, allocations: 0 / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.7991, allocations: 7.938 kB / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7991, allocations: 0 / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.7991, allocations: 11.98 kB / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7992, allocations: 0 / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7992, allocations: 4 kB / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.7993, allocations: 179.3 kB / 0.9856 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.7994, allocations: 85.09 kB / 0.9857 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7994, allocations: 8 kB / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.7995, allocations: 8 kB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.7995, allocations: 7.984 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.7995, allocations: 0 / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.7996, allocations: 91.27 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7996, allocations: 0 / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002224/0.7998, allocations: 16 kB / 0.9858 GB, free: 1.266 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004468/0.8003, allocations: 0.7142 MB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.8004, allocations: 59.86 kB / 0.9866 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8004, allocations: 4 kB / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.8005, allocations: 27.92 kB / 0.9866 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.8008, allocations: 8 kB / 0.9866 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.8015, allocations: 478.3 kB / 0.9871 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.8018, allocations: 0.6887 MB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.8018, allocations: 7.938 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.8019, allocations: 15.44 kB / 0.9878 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8019, allocations: 0 / 0.9878 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6521/1.454, allocations: 1.485 MB / 0.9892 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/1.454, allocations: 207.7 kB / 0.9894 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.919, allocations: 0 / 0.9894 GB, free: 13.59 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat does not exist to compare? outputFormat=mat