Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.44 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003045/0.3162, allocations: 1.533 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.317, allocations: 450.7 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.3171, allocations: 0 / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.3171, allocations: 0 / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.963e-05/0.3172, allocations: 3.938 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3174, allocations: 19.98 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.3175, allocations: 47.84 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3176, allocations: 19.98 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.3177, allocations: 19.92 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.3177, allocations: 15.92 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3178, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.3178, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.3178, allocations: 15.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.3179, allocations: 23.91 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/0.318, allocations: 39.88 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.318, allocations: 4 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.318, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.318, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 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.0005445/0.3186, allocations: 355.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3186, allocations: 8.031 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.3187, allocations: 4.938 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3188, allocations: 176.2 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3188, allocations: 4.375 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3189, allocations: 8.375 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.319, allocations: 61.98 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.319, allocations: 3.938 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.319, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.319, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.3191, allocations: 31.92 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.3196, allocations: 300.8 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3198, allocations: 58.59 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.3198, allocations: 20.95 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3199, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3201, allocations: 75.28 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3201, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002373/0.3203, allocations: 101.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3204, allocations: 55.41 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.3205, allocations: 101.8 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3205, allocations: 33.7 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3206, allocations: 84.05 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3206, allocations: 27.64 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3206, allocations: 29.7 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3208, allocations: 330.7 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.3208, allocations: 15.98 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.3209, allocations: 47.36 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.784e-05/0.321, allocations: 63.38 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.321, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.3211, allocations: 101.8 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3211, allocations: 4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3212, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3212, allocations: 4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.3213, allocations: 15.92 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3213, allocations: 384 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.3214, allocations: 11.91 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.3214, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 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.031e-05/0.3215, allocations: 125.8 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3215, allocations: 7.938 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3215, allocations: 7.969 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3215, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3215, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3215, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.322, allocations: 354.4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.322, allocations: 4.062 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.322, allocations: 15.92 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.322, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.322, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.322, allocations: 3.938 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3221, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3222, allocations: 179.5 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.3223, allocations: 84.95 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3223, allocations: 4 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.3224, allocations: 19.92 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3224, allocations: 4 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3225, allocations: 7.984 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.3225, allocations: 83.28 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3225, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002329/0.3227, allocations: 16 kB / 1.058 GB, free: 2.777 MB / 0.8106 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.0001066/0.3229, allocations: 91.25 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.323, allocations: 63.84 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.323, allocations: 4.062 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.3231, allocations: 28.06 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3234, allocations: 11.98 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3238, allocations: 193.2 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3241, allocations: 0.6887 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3241, allocations: 11.44 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3241, allocations: 0 / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.002271/0.3264, allocations: 0.8631 MB / 1.06 GB, free: 0.7656 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches