Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001679/0.001679, allocations: 114.9 kB / 17.84 MB, free: 5.312 MB / 14.72 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.002003/0.002003, allocations: 201.6 kB / 20.8 MB, free: 2.371 MB / 14.72 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 1.624/1.624, allocations: 230.6 MB / 254.2 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.037/1.037, allocations: 150 MB / 460.2 MB, free: 5.246 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 66.75 kB / 0.6368 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2064, allocations: 89.14 MB / 0.7239 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002922/0.2093, allocations: 0.6372 MB / 0.7245 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.2114, allocations: 1.2 MB / 0.7257 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.2115, allocations: 0 / 0.7257 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.2115, allocations: 3.938 kB / 0.7257 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.2117, allocations: 15.86 kB / 0.7257 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.2124, allocations: 149.4 kB / 0.7258 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.2127, allocations: 139.8 kB / 0.7259 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2128, allocations: 11.98 kB / 0.726 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.213, allocations: 55.91 kB / 0.726 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2131, allocations: 55.84 kB / 0.7261 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2132, allocations: 16 kB / 0.7261 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.2133, allocations: 35.86 kB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.2133, allocations: 19.92 kB / 0.7261 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.2134, allocations: 55.83 kB / 0.7262 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.2137, allocations: 123.9 kB / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2137, allocations: 0 / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.145e-06/0.2137, allocations: 0 / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.2137, allocations: 0 / 0.7263 GB, free: 1.527 MB / 0.5294 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.0007981/0.2145, allocations: 424.9 kB / 0.7267 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.2145, allocations: 12.03 kB / 0.7267 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.912e-05/0.2145, allocations: 4.125 kB / 0.7267 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2146, allocations: 42.73 kB / 0.7268 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.2146, allocations: 4.938 kB / 0.7268 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.2151, allocations: 216.4 kB / 0.727 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.2152, allocations: 8.359 kB / 0.727 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.2152, allocations: 16.38 kB / 0.727 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2154, allocations: 85.75 kB / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2155, allocations: 0 / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2155, allocations: 4 kB / 0.7271 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2155, allocations: 0 / 0.7271 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2156, allocations: 43.91 kB / 0.7271 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.2164, allocations: 356.6 kB / 0.7275 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2167, allocations: 82.55 kB / 0.7275 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.2168, allocations: 28.84 kB / 0.7276 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2168, allocations: 0 / 0.7276 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.2172, allocations: 130.1 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2172, allocations: 4 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004985/0.2177, allocations: 205.6 kB / 0.7279 GB, free: 15.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.2178, allocations: 55.41 kB / 0.728 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2179, allocations: 109.8 kB / 0.7281 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.2179, allocations: 33.7 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.218, allocations: 92.23 kB / 0.7282 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.218, allocations: 31.8 kB / 0.7282 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2182, allocations: 53.62 kB / 0.7283 GB, free: 15.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2183, allocations: 322.8 kB / 0.7286 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2184, allocations: 51.97 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2186, allocations: 86.23 kB / 0.7287 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2188, allocations: 137.9 kB / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2188, allocations: 0 / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003924/0.2192, allocations: 225.6 kB / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.2192, allocations: 33.7 kB / 0.7291 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2192, allocations: 0 / 0.7291 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2192, allocations: 4 kB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.2193, allocations: 11.98 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2193, allocations: 0 / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2195, allocations: 43.97 kB / 0.7291 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2196, allocations: 8 kB / 0.7291 GB, free: 14.33 MB / 0.545 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 0.0001549/0.2197, allocations: 129.8 kB / 0.7293 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.2197, allocations: 7.953 kB / 0.7293 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.2198, allocations: 8.5 kB / 0.7293 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2198, allocations: 4 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2198, allocations: 4 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2198, allocations: 3.984 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.2203, allocations: 434.3 kB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2203, allocations: 0 / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.2204, allocations: 4 kB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2204, allocations: 0 / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2204, allocations: 8 kB / 0.7297 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2204, allocations: 3.984 kB / 0.7297 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2204, allocations: 3.938 kB / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.2207, allocations: 263.4 kB / 0.73 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.2208, allocations: 89 kB / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2208, allocations: 11.98 kB / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.2209, allocations: 0 / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.221, allocations: 19.91 kB / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.221, allocations: 8 kB / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.2211, allocations: 91.27 kB / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2211, allocations: 0 / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002957/0.2214, allocations: 36 kB / 0.7302 GB, free: 13.12 MB / 0.545 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.0007949/0.2222, allocations: 0.7977 MB / 0.731 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.2225, allocations: 171.3 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2225, allocations: 4.188 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2227, allocations: 59.91 kB / 0.7312 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.223, allocations: 19.86 kB / 0.7312 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.2257, allocations: 1.721 MB / 0.7329 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.226, allocations: 0.6924 MB / 0.7336 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.429e-05/0.2261, allocations: 8.547 kB / 0.7336 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.2262, allocations: 23.44 kB / 0.7336 GB, free: 9.461 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.2262, allocations: 4 kB / 0.7336 GB, free: 9.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.2481, allocations: 2.827 MB / 0.7364 GB, free: 6.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.507, allocations: 7.156 kB / 0.7364 GB, free: 6.789 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.694918250024784] Failed to read output from testmodel.py, exit status != 0: 8.637204405968077 8.656288694 8.439620573 Calling exit ...