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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007342/0.007342, allocations: 99.34 kB / 15.73 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.001891/0.001891, allocations: 196 kB / 16.68 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.19 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 162.2 MB / 1.241 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002619/0.2859, allocations: 1.485 MB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.2866, allocations: 432.4 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.2867, allocations: 4 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.2867, allocations: 7.922 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.2868, allocations: 7.938 kB / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.287, allocations: 27.84 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.2871, allocations: 47.91 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.2871, allocations: 15.92 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.2872, allocations: 19.94 kB / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.2873, allocations: 23.91 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2873, allocations: 7.984 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.2873, allocations: 4 kB / 1.243 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.2873, allocations: 11.92 kB / 1.243 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.2874, allocations: 31.86 kB / 1.243 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2875, allocations: 40.11 kB / 1.244 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2875, allocations: 7.922 kB / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2875, allocations: 0 / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2875, allocations: 0 / 1.244 GB, free: 7.062 MB / 0.9669 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.0005167/0.2881, allocations: 363.3 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2881, allocations: 12.02 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2881, allocations: 30.75 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.2882, allocations: 4.938 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2883, allocations: 176.3 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2883, allocations: 4.375 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2884, allocations: 12.3 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2885, allocations: 57.81 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2885, allocations: 0 / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2885, allocations: 0 / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2885, allocations: 0 / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.418e-05/0.2886, allocations: 27.98 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.2891, allocations: 304.7 kB / 1.244 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2892, allocations: 58.56 kB / 1.245 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.2892, allocations: 28.94 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2893, allocations: 0 / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.2894, allocations: 79.38 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2894, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002253/0.2897, allocations: 101.5 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2897, allocations: 55.41 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.2898, allocations: 109.8 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2899, allocations: 29.7 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.2899, allocations: 84.14 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2899, allocations: 27.78 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.29, allocations: 21.72 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2901, allocations: 326.8 kB / 1.245 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.2902, allocations: 16 kB / 1.245 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.2903, allocations: 47.36 kB / 1.245 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/0.2904, allocations: 67.36 kB / 1.245 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2904, allocations: 0 / 1.245 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001588/0.2905, allocations: 105.7 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2905, allocations: 8 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2906, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2906, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2906, allocations: 12 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2907, allocations: 4 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.2907, allocations: 7.984 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2907, allocations: 7.938 kB / 1.246 GB, free: 4.66 MB / 0.9669 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 9.514e-05/0.2908, allocations: 122.3 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2909, allocations: 4 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.2909, allocations: 7.969 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2909, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2909, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2909, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.2914, allocations: 370.4 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2914, allocations: 0 / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.2914, allocations: 4 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2914, allocations: 4.531 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2914, allocations: 4 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2914, allocations: 3.938 kB / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2914, allocations: 0 / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.2916, allocations: 191.3 kB / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.2917, allocations: 81.11 kB / 1.246 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2917, allocations: 0 / 1.246 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-05/0.2918, allocations: 15.92 kB / 1.246 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2919, allocations: 11.98 kB / 1.246 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2919, allocations: 4 kB / 1.246 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.2919, allocations: 83.22 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2919, allocations: 0 / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002423/0.2922, allocations: 12 kB / 1.247 GB, free: 3.656 MB / 0.9669 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.0005233/0.2927, allocations: 0.7163 MB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.2929, allocations: 59.84 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2929, allocations: 0 / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/0.2929, allocations: 27.94 kB / 1.247 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2932, allocations: 15.92 kB / 1.247 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2946, allocations: 1.366 MB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2949, allocations: 0.6807 MB / 1.249 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.295, allocations: 7.984 kB / 1.249 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.295, allocations: 15.44 kB / 1.249 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.295, allocations: 0 / 1.249 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3168, allocations: 1.783 MB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.089, allocations: 15.92 kB / 1.251 GB, free: 14.95 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) Reference file matches