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.007579/0.007579, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001777/0.001777, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.265/2.265, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 66.78 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2494, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002651/0.2521, allocations: 1.475 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.2528, allocations: 444.3 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.2529, allocations: 4 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.253, allocations: 3.938 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.253, allocations: 7.922 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2532, allocations: 23.92 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.2533, allocations: 51.84 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.2534, allocations: 11.98 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.2535, allocations: 27.84 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.2536, allocations: 31.86 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2536, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.2536, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.2536, allocations: 7.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.2537, allocations: 23.88 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/0.2538, allocations: 46.67 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2538, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2538, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2538, allocations: 0 / 1.09 GB, free: 15.86 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.0005115/0.2543, allocations: 364.3 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2544, allocations: 8.031 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.2544, allocations: 34.75 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.2545, allocations: 8.844 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2546, allocations: 176.2 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2546, allocations: 384 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2546, allocations: 8.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.2547, allocations: 57.81 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2548, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2548, allocations: 7.922 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2548, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.2549, allocations: 31.92 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.2554, allocations: 292.7 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2555, allocations: 58.64 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.2555, allocations: 28.88 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.2556, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2557, allocations: 67.39 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2557, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002188/0.256, allocations: 105.5 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.256, allocations: 55.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.2561, allocations: 105.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2561, allocations: 33.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.2562, allocations: 84.14 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2562, allocations: 31.62 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.2563, allocations: 25.72 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2564, allocations: 326.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.2564, allocations: 15.94 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.2565, allocations: 47.36 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.462e-05/0.2566, allocations: 75.36 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2566, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.2567, allocations: 89.61 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2567, allocations: 8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2567, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2568, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.2568, allocations: 8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2569, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.2569, allocations: 15.92 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2569, allocations: 11.94 kB / 1.092 GB, free: 13.45 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.664e-05/0.257, allocations: 118.8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.2571, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.2571, allocations: 7.969 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2571, allocations: 3.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2571, allocations: 288 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2571, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.2575, allocations: 366.3 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2575, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.2576, allocations: 11.92 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2576, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2576, allocations: 480 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2576, allocations: 3.938 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2576, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.2578, allocations: 187.4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2578, allocations: 85.02 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2578, allocations: 7.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.2579, allocations: 12 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.258, allocations: 7.984 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.258, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.258, allocations: 83.28 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.258, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002374/0.2583, allocations: 12 kB / 1.093 GB, free: 12.45 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.0004151/0.2587, allocations: 0.7224 MB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.2588, allocations: 51.92 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2588, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.2589, allocations: 31.92 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2592, allocations: 16 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2603, allocations: 1.364 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2606, allocations: 0.6846 MB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.2606, allocations: 15.92 kB / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.2607, allocations: 15.44 kB / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2607, allocations: 0 / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.2785, allocations: 1.76 MB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.482, allocations: 8.469 kB / 1.097 GB, free: 7.75 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) Reference file matches