Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_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.008107/0.008107, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.00181/0.001811, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 74.72 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002501/0.2519, allocations: 1.478 MB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.2527, allocations: 444.3 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.2527, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.2528, allocations: 3.938 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.2529, allocations: 11.92 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.253, allocations: 23.97 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.2531, allocations: 55.78 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2532, allocations: 8 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.828e-05/0.2533, allocations: 15.98 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.2534, allocations: 27.86 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.2534, allocations: 8 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.2534, allocations: 4 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.2535, allocations: 11.97 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.2535, allocations: 27.86 kB / 1.09 GB, free: 0 / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2536, allocations: 42.77 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2536, allocations: 0 / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2537, allocations: 3.938 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2537, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 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.000483/0.2541, allocations: 360.2 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2542, allocations: 12.03 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.2542, allocations: 38.73 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.2543, allocations: 8.844 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2544, allocations: 164.3 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2544, allocations: 4.375 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2544, allocations: 8.375 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2546, allocations: 65.73 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2546, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2546, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2546, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.2547, allocations: 27.98 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.2551, allocations: 308.6 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.2553, allocations: 54.56 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.2553, allocations: 24.95 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.2553, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.2555, allocations: 75.41 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2555, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002231/0.2557, allocations: 101.6 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2558, allocations: 51.41 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.2559, allocations: 106.1 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2559, allocations: 37.69 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.256, allocations: 84.14 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.256, allocations: 23.66 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.256, allocations: 33.64 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2562, allocations: 318.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.2562, allocations: 19.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.2563, allocations: 43.42 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.2563, allocations: 71.55 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2564, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001412/0.2565, allocations: 93.55 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2565, allocations: 9.562 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2565, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2565, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.2566, allocations: 11.98 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2566, allocations: 8.031 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.2567, allocations: 11.91 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2567, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 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 8.814e-05/0.2568, allocations: 123.2 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.2568, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.2569, allocations: 11.97 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2569, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2569, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2569, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.2573, allocations: 366.3 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2573, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.2573, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2573, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2573, allocations: 8.062 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2573, allocations: 3.938 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2574, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2575, allocations: 179.5 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.2576, allocations: 85.2 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2576, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.2577, allocations: 15.86 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2577, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2577, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.2578, allocations: 87.27 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2578, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002215/0.258, allocations: 16 kB / 1.093 GB, free: 12.55 MB / 0.8575 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.0004116/0.2584, allocations: 0.7203 MB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2586, allocations: 55.91 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2586, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.2586, allocations: 23.98 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2589, allocations: 29.86 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2601, allocations: 1.355 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.2603, allocations: 0.6885 MB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.2604, allocations: 8 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2604, allocations: 19.7 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.2604, allocations: 0 / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.2853, allocations: 1.77 MB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.819, allocations: 5.625 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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