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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.009355/0.009355, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001833/0.001833, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 68.25 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3106, allocations: 157.4 MB / 1.208 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003376/0.314, allocations: 1.481 MB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.315, allocations: 447.2 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.3151, allocations: 8 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.3151, allocations: 3.938 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.3152, allocations: 7.922 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3154, allocations: 19.92 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3155, allocations: 51.89 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3157, allocations: 12 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.3158, allocations: 19.92 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.3159, allocations: 23.91 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3159, allocations: 7.938 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.3159, allocations: 8 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.3159, allocations: 11.94 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.316, allocations: 23.91 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.3161, allocations: 43.83 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3162, allocations: 0 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3162, allocations: 0 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3162, allocations: 0 / 1.21 GB, free: 7.547 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.0005912/0.3168, allocations: 359.4 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3168, allocations: 12.03 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3169, allocations: 12.78 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.317, allocations: 172.3 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3171, allocations: 4.375 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3171, allocations: 4.375 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3172, allocations: 61.92 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3172, allocations: 4 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3173, allocations: 4 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3173, allocations: 0 / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.3174, allocations: 23.98 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.3179, allocations: 312.6 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.318, allocations: 50.56 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.3181, allocations: 24.94 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3181, allocations: 4 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3183, allocations: 75.42 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 3.527e-06/0.3183, allocations: 0 / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.00025/0.3186, allocations: 105.5 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3186, allocations: 55.41 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.3187, allocations: 105.8 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3187, allocations: 25.7 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.3188, allocations: 92.12 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3188, allocations: 23.66 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.3189, allocations: 33.7 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.3191, allocations: 315.2 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.3192, allocations: 23.98 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.3192, allocations: 39.42 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/0.3193, allocations: 71.38 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3194, allocations: 3.938 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001542/0.3195, allocations: 101.5 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3195, allocations: 4 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3196, allocations: 4 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3196, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.3197, allocations: 8 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3197, allocations: 7.984 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.3197, allocations: 4 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3198, allocations: 4 kB / 1.212 GB, free: 5.191 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 0.0001074/0.3199, allocations: 129.8 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3199, allocations: 3.906 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.3199, allocations: 15.95 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.32, allocations: 288 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.32, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.32, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3204, allocations: 358.4 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3204, allocations: 4 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.3205, allocations: 4 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3205, allocations: 7.938 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3205, allocations: 0 / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3205, allocations: 3.938 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3205, allocations: 3.984 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.3207, allocations: 179.4 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.3207, allocations: 85.05 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3208, allocations: 7.984 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.3209, allocations: 12 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3209, allocations: 11.98 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.3209, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.321, allocations: 83.47 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.321, allocations: 3.938 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000254/0.3213, allocations: 19.92 kB / 1.213 GB, free: 4.172 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.0001124/0.3214, allocations: 99.25 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3215, allocations: 55.92 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3216, allocations: 0 / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.3216, allocations: 31.92 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3219, allocations: 4 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.3222, allocations: 149.4 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3226, allocations: 0.6885 MB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.3226, allocations: 8.062 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3227, allocations: 11.44 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3227, allocations: 0 / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.003784/0.3265, allocations: 0.7913 MB / 1.215 GB, free: 2.285 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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 & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches