Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007814/0.0007814, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.903/0.903, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.733/1.733, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.279e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001421/0.001444, allocations: 0.6633 MB / 0.9816 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.003063, allocations: 1.182 MB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.003105, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.003132, allocations: 3.938 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.003199, allocations: 19.86 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.003624, allocations: 146.1 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003786, allocations: 143.7 kB / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.003874, allocations: 11.92 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.003971, allocations: 79.88 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.004059, allocations: 47.91 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.004081, allocations: 12 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.133e-05/0.004132, allocations: 23.98 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.004156, allocations: 19.92 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.004211, allocations: 43.95 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004384, allocations: 159.5 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004387, allocations: 0 / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004388, allocations: 4 kB / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.004392, allocations: 0 / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004489/0.004841, allocations: 335.9 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004879, allocations: 8.031 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.004908, allocations: 42.75 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.004946, allocations: 12.88 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.005192, allocations: 157.8 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.00521, allocations: 4.375 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.005232, allocations: 16.36 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.005361, allocations: 82.14 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005368, allocations: 192 / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005381, allocations: 12.36 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005386, allocations: 3.938 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.605e-05/0.005452, allocations: 39.91 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.005829, allocations: 295.9 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.005955, allocations: 86.56 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.005998, allocations: 32.78 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.006008, allocations: 4 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.006205, allocations: 129.1 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.006206, allocations: 3.938 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002918/0.006498, allocations: 197.5 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.006534, allocations: 59.55 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.006599, allocations: 117.8 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.006621, allocations: 37.7 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.006664, allocations: 88.14 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.006686, allocations: 31.73 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.00674, allocations: 45.7 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.006814, allocations: 322.8 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.006899, allocations: 77.67 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.006992, allocations: 119.7 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.007109, allocations: 148 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007111, allocations: 0 / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002257/0.007337, allocations: 236.9 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.007369, allocations: 41.69 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007374, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007386, allocations: 4 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.007439, allocations: 11.94 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.007444, allocations: 320 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.00755, allocations: 44.03 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.007562, allocations: 8 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.854e-05/0.007641, allocations: 134.2 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.007653, allocations: 15.88 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.00768, allocations: 12.44 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.007683, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007686, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007689, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.007967, allocations: 409.2 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007968, allocations: 0 / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.007987, allocations: 7.938 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007989, allocations: 0 / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.008, allocations: 11.98 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008001, allocations: 0 / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008003, allocations: 4 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.00817, allocations: 267.4 kB / 0.987 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.008178, allocations: 7.953 kB / 0.987 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.008195, allocations: 7.984 kB / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.008248, allocations: 7.984 kB / 0.987 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.008284, allocations: 11.98 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.008295, allocations: 15.98 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.008325, allocations: 87.27 kB / 0.9871 GB, free: 11.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008325, allocations: 0 / 0.9871 GB, free: 11.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001755/0.0085, allocations: 39.92 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003989/0.008899, allocations: 0.806 MB / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.009116, allocations: 201 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.009117, allocations: 256 / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.009185, allocations: 67.89 kB / 0.9882 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.009382, allocations: 22.17 kB / 0.9882 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.01088, allocations: 1.835 MB / 0.99 GB, free: 8.754 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.01093, allocations: 75.33 kB / 0.9901 GB, free: 8.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.01096, allocations: 12.48 kB / 0.9901 GB, free: 8.648 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.011, allocations: 24.5 kB / 0.9901 GB, free: 8.625 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.011, allocations: 0 / 0.9901 GB, free: 8.625 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.02697, allocations: 3.583 MB / 0.9936 GB, free: 5.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/6.869, allocations: 4 kB / 0.9936 GB, free: 5.215 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.943288684822619]