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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008109/0.0008109, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004912/0.004912, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 15 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001529/0.2706, allocations: 1.206 MB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.2712, allocations: 431 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2713, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.2713, allocations: 7.922 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.749e-05/0.2714, allocations: 3.938 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.2716, allocations: 23.98 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.2717, allocations: 43.91 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.2718, allocations: 11.98 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.2718, allocations: 23.86 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.2719, allocations: 19.92 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2719, allocations: 0 / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.2719, allocations: 7.938 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2719, allocations: 4 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.272, allocations: 53.55 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.2721, allocations: 36.16 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2721, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2721, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2721, allocations: 4 kB / 1.061 GB, free: 2.965 MB / 0.8106 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.000448/0.2726, allocations: 351.4 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2726, allocations: 11.97 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2726, allocations: 38.75 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2727, allocations: 8.938 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2728, allocations: 176.2 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2728, allocations: 8.375 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2728, allocations: 4.375 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2729, allocations: 57.75 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.273, allocations: 0 / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.273, allocations: 4 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.273, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.2731, allocations: 31.91 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.2735, allocations: 300.8 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.2736, allocations: 54.56 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.2737, allocations: 33.03 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2737, allocations: 3.938 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.2738, allocations: 75.28 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2739, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002076/0.2741, allocations: 97.61 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2741, allocations: 55.41 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.2742, allocations: 101.8 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2742, allocations: 37.7 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.2743, allocations: 84.05 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.2743, allocations: 23.73 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.2743, allocations: 21.66 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.2744, allocations: 322.8 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.2745, allocations: 16 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.2745, allocations: 47.36 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.2746, allocations: 75.53 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2746, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001321/0.2747, allocations: 93.89 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2748, allocations: 10.03 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2748, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2748, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.2749, allocations: 11.94 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2749, allocations: 4.062 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.2749, allocations: 23.95 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.275, allocations: 7.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.275, allocations: 113.8 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.2751, allocations: 7.906 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.2751, allocations: 7.969 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2751, allocations: 4 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2751, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2751, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.2755, allocations: 370.3 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2755, allocations: 0 / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.2755, allocations: 8.047 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2755, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2756, allocations: 3.938 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2756, allocations: 7.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2756, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2757, allocations: 183.4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2758, allocations: 84.95 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2758, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.2759, allocations: 19.86 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.2759, allocations: 11.98 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2759, allocations: 0 / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.276, allocations: 83.28 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.276, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000222/0.2762, allocations: 16 kB / 1.064 GB, free: 15.56 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/0.2766, allocations: 0.7165 MB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2767, allocations: 56.23 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2767, allocations: 4.062 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.2768, allocations: 23.94 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.277, allocations: 15.92 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2781, allocations: 1.373 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2783, allocations: 0.6848 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.2783, allocations: 7.984 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.2784, allocations: 15.44 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2784, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.2906, allocations: 1.486 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.2909, allocations: 213.1 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.967, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,not1.u,not1.y,offTim1.u,offTim1.y,offTim2.u,offTim2.y,time