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: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 107.7 kB / 16.27 MB, free: 6.414 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.001515/0.001515, allocations: 190.9 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.514/2.514, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 64.69 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002769/0.2957, allocations: 1.476 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.2964, allocations: 452.3 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.2965, allocations: 0 / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.2965, allocations: 3.938 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.2966, allocations: 7.938 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.2967, allocations: 27.89 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.2968, allocations: 47.92 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.297, allocations: 11.98 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.297, allocations: 15.94 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.2971, allocations: 27.84 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2971, allocations: 7.938 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2971, allocations: 4 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.2972, allocations: 19.91 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.2972, allocations: 23.94 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.2973, allocations: 43.81 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2973, allocations: 0 / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2973, allocations: 4 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2974, allocations: 0 / 1.02 GB, free: 8.441 MB / 0.795 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.0005502/0.2979, allocations: 355.7 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2979, allocations: 8.625 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.298, allocations: 4.938 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2981, allocations: 176.2 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2982, allocations: 4.375 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2982, allocations: 4.375 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2983, allocations: 65.92 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2983, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2983, allocations: 7.984 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2984, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.2984, allocations: 23.98 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2989, allocations: 308.7 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.2991, allocations: 54.62 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.2991, allocations: 20.89 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2991, allocations: 0 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.2993, allocations: 83.31 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.2993, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0002254/0.2995, allocations: 101.5 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2996, allocations: 55.41 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.2997, allocations: 105.8 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2997, allocations: 29.7 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2998, allocations: 88.05 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2998, allocations: 23.66 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.2999, allocations: 33.64 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3, allocations: 322.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.3, allocations: 15.98 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.3001, allocations: 47.36 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.3002, allocations: 63.38 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3002, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001472/0.3004, allocations: 101.6 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3004, allocations: 8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3004, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3004, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.3005, allocations: 11.98 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3005, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.3006, allocations: 7.906 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3006, allocations: 4 kB / 1.022 GB, free: 6.094 MB / 0.795 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.0001064/0.3007, allocations: 138.8 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3007, allocations: 4.281 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3008, allocations: 7.969 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3008, allocations: 3.984 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3008, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3008, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3012, allocations: 362.3 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3012, allocations: 0 / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.3013, allocations: 11.98 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3013, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3013, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3013, allocations: 3.938 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3013, allocations: 480 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3015, allocations: 187.4 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.3016, allocations: 84.95 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3016, allocations: 0 / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.3017, allocations: 23.86 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.3017, allocations: 4 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3017, allocations: 4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3018, allocations: 87.27 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3018, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002282/0.302, allocations: 12 kB / 1.023 GB, free: 5.078 MB / 0.795 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.0001124/0.3021, allocations: 106.4 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.3023, allocations: 59.91 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3023, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.3024, allocations: 27.94 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3026, allocations: 11.98 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.303, allocations: 159.3 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3033, allocations: 0.6885 MB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3033, allocations: 15.44 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3033, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of Templates: time 0.00245/0.3058, allocations: 0.8561 MB / 1.025 GB, free: 3.094 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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 & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/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) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time