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: 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.008845/0.008845, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001742/0.001742, allocations: 192.6 kB / 16.67 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.644/2.644, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9878/0.9898, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002803/0.9926, allocations: 1.465 MB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.9935, allocations: 454.7 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.9935, allocations: 4 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.9936, allocations: 3.938 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.9937, allocations: 7.922 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.9939, allocations: 23.92 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.994, allocations: 47.91 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.9942, allocations: 15.98 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.9942, allocations: 23.86 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.9943, allocations: 19.92 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.9943, allocations: 7.938 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.9944, allocations: 4 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.9944, allocations: 11.98 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.9945, allocations: 27.86 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.9946, allocations: 43.39 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9946, allocations: 4 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9946, allocations: 0 / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.9946, allocations: 0 / 1.228 GB, free: 11.38 MB / 0.9512 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.0006053/0.9952, allocations: 364.3 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.9953, allocations: 8.031 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.9953, allocations: 4.938 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.9955, allocations: 176.3 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.9955, allocations: 8.375 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.9955, allocations: 4.375 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.9957, allocations: 61.94 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9957, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9957, allocations: 11.97 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9957, allocations: 0 / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.9958, allocations: 23.98 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.9963, allocations: 300.7 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.9964, allocations: 54.56 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.9965, allocations: 28.94 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9965, allocations: 4.031 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.9967, allocations: 79.28 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.9967, allocations: 0 / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002299/0.9969, allocations: 97.61 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.997, allocations: 55.41 kB / 1.229 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.9971, allocations: 109.8 kB / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.9971, allocations: 29.7 kB / 1.229 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.9972, allocations: 89.34 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.9972, allocations: 23.84 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.9972, allocations: 25.72 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9974, allocations: 322.8 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.9974, allocations: 12 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.9975, allocations: 55.36 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.9976, allocations: 63.42 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9976, allocations: 384 / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001601/0.9978, allocations: 97.5 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9978, allocations: 4 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9978, allocations: 8.031 kB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9978, allocations: 3.938 kB / 1.23 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.9979, allocations: 8 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9979, allocations: 7.984 kB / 1.23 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.998, allocations: 15.92 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.998, allocations: 0 / 1.23 GB, free: 9.023 MB / 0.9512 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.768e-05/0.9981, allocations: 127.4 kB / 1.23 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.9981, allocations: 3.953 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.9982, allocations: 15.95 kB / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.9982, allocations: 8.047 kB / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9982, allocations: 4 kB / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9982, allocations: 0 / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.9986, allocations: 358.4 kB / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9986, allocations: 0 / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.9986, allocations: 4 kB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9986, allocations: 0 / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.9986, allocations: 8 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.9987, allocations: 3.938 kB / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9987, allocations: 7.938 kB / 1.23 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.9988, allocations: 179.5 kB / 1.23 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.9989, allocations: 77.11 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.9989, allocations: 7.984 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.999, allocations: 7.938 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.999, allocations: 15.92 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.9991, allocations: 0 / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.9991, allocations: 83.28 kB / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9991, allocations: 0 / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002293/0.9994, allocations: 19.95 kB / 1.231 GB, free: 8.008 MB / 0.9512 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.0001056/0.9995, allocations: 101.8 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.9996, allocations: 56.05 kB / 1.231 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9996, allocations: 4 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.9997, allocations: 27.92 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1, allocations: 18.58 kB / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/1, allocations: 149.3 kB / 1.231 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.001, allocations: 0.6846 MB / 1.232 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.935e-05/1.001, allocations: 7.984 kB / 1.232 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/1.001, allocations: 11.44 kB / 1.232 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/1.001, allocations: 0 / 1.232 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of Templates: time 0.003036/1.004, allocations: 0.79 MB / 1.232 GB, free: 6.117 MB / 0.9512 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