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.0096/0.0096, allocations: 97.89 kB / 15.73 MB, free: 5.996 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.002401/0.002401, allocations: 184.8 kB / 16.67 MB, free: 5.926 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.687/1.687, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003078/0.3155, allocations: 1.469 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.3164, allocations: 438.9 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.3165, allocations: 4 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.3166, allocations: 7.875 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.3167, allocations: 15.91 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.3168, allocations: 19.92 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.3169, allocations: 51.91 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.317, allocations: 8 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.3171, allocations: 31.84 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.3172, allocations: 23.91 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3172, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.3172, allocations: 7.938 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.3173, allocations: 7.938 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.3173, allocations: 23.92 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3174, allocations: 48.03 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3174, allocations: 8 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3174, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3175, allocations: 0 / 1.168 GB, free: 5.113 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.0006149/0.3181, allocations: 363.3 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3181, allocations: 8.031 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.3182, allocations: 34.73 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.3182, allocations: 4.938 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3184, allocations: 180.2 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3184, allocations: 4.375 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3184, allocations: 4.375 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3186, allocations: 61.8 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3186, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3186, allocations: 4 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3186, allocations: 0 / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.3187, allocations: 27.92 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3192, allocations: 300.8 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3194, allocations: 50.56 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.3194, allocations: 32.98 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3194, allocations: 0 / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3196, allocations: 75.33 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.3196, allocations: 0 / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002451/0.3199, allocations: 105.8 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3199, allocations: 55.41 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.32, allocations: 109.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3201, allocations: 29.7 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3201, allocations: 84.14 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.3202, allocations: 27.78 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3202, allocations: 25.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3204, allocations: 318.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.3204, allocations: 23.98 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.3205, allocations: 51.3 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3206, allocations: 67.55 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3206, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001605/0.3208, allocations: 93.56 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3208, allocations: 12.03 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3208, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3208, allocations: 4 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.3209, allocations: 15.98 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.321, allocations: 3.938 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.321, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3211, allocations: 7.938 kB / 1.17 GB, free: 2.711 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 0.0001058/0.3212, allocations: 121.8 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3212, allocations: 8 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3212, allocations: 3.969 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3212, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3212, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3212, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.3217, allocations: 362.4 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3218, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.3218, allocations: 7.984 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3218, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3218, allocations: 7.938 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3218, allocations: 8 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3218, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.322, allocations: 187.5 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3221, allocations: 85.05 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3221, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.3222, allocations: 11.92 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.3223, allocations: 8 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3223, allocations: 8 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.3223, allocations: 87.27 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.284e-06/0.3223, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002457/0.3226, allocations: 11.94 kB / 1.171 GB, free: 1.707 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.0005498/0.3232, allocations: 0.7165 MB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3233, allocations: 55.91 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3233, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.3234, allocations: 35.92 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.3237, allocations: 11.92 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3251, allocations: 1.355 MB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3255, allocations: 0.6962 MB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.3255, allocations: 4 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3256, allocations: 23.53 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.3256, allocations: 3.938 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.352, allocations: 1.762 MB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.185, allocations: 16.72 kB / 1.176 GB, free: 13 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