Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_10_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.006682/0.006682, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.001601/0.001601, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002915/0.2884, allocations: 1.484 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.2892, allocations: 442.9 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.2893, allocations: 4 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2894, allocations: 7.922 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2895, allocations: 11.86 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.2896, allocations: 19.98 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.2897, allocations: 51.84 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2899, allocations: 19.98 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.2899, allocations: 15.94 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.29, allocations: 27.89 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.29, allocations: 4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.29, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.2901, allocations: 15.92 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.2901, allocations: 15.94 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2902, allocations: 55.95 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2903, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2903, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2903, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 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.0005394/0.2908, allocations: 363.3 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2909, allocations: 8.031 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2909, allocations: 38.75 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.2909, allocations: 0.9375 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2911, allocations: 176.3 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2911, allocations: 4.375 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2911, allocations: 8.375 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2912, allocations: 61.75 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2912, allocations: 0 / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2913, allocations: 0 / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2913, allocations: 4 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.2913, allocations: 27.97 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.2918, allocations: 296.7 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.292, allocations: 58.56 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.292, allocations: 24.94 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.292, allocations: 3.984 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.2922, allocations: 75.38 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2922, allocations: 0 / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.2924, allocations: 101.6 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2925, allocations: 59.41 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.2926, allocations: 105.8 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2926, allocations: 33.7 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.2927, allocations: 80.14 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.2927, allocations: 31.77 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.2928, allocations: 25.72 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2929, allocations: 322.8 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.293, allocations: 16 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.2931, allocations: 51.36 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.2931, allocations: 71.36 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2932, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001525/0.2933, allocations: 101.5 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2933, allocations: 4 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2933, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2934, allocations: 8.031 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.2934, allocations: 8 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2934, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.2935, allocations: 7.984 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2935, allocations: 11.94 kB / 1.17 GB, free: 2.719 MB / 0.92 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.776e-05/0.2936, allocations: 119 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.2936, allocations: 4 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.2937, allocations: 8.344 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2937, allocations: 4 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2937, allocations: 4 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2937, allocations: 3.984 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.2941, allocations: 358.3 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2941, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.2941, allocations: 4 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2941, allocations: 288 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2942, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2942, allocations: 3.938 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2942, allocations: 8 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.2943, allocations: 187.4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2944, allocations: 81.09 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2944, allocations: 4 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.2945, allocations: 11.92 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.2945, allocations: 7.984 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2946, allocations: 8.062 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.2946, allocations: 87.28 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.254e-06/0.2946, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002374/0.2949, allocations: 19.94 kB / 1.171 GB, free: 1.711 MB / 0.92 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.0004391/0.2953, allocations: 0.7123 MB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2955, allocations: 56.19 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2955, allocations: 12 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.2955, allocations: 20 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2958, allocations: 15.92 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.297, allocations: 1.357 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2973, allocations: 0.6885 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.2973, allocations: 7.984 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.2974, allocations: 15.44 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2974, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.3122, allocations: 1.769 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.977, allocations: 3.953 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches