Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001289/0.001289, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001335/0.001335, allocations: 210.2 kB / 23.04 MB, free: 5.008 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.727 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 0.8953/0.8953, allocations: 150 MB / 463.2 MB, free: 10.18 MB / 366.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.Reals.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",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.001924/0.001924, allocations: 70.2 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1534, allocations: 89.17 MB / 0.7284 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001562/0.155, allocations: 0.567 MB / 0.7289 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 3.356e-05/0.155, allocations: 8 kB / 0.729 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.155, allocations: 0 / 0.729 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.1551, allocations: 3.938 kB / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.215e-05/0.1551, allocations: 0 / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.145e-05/0.1551, allocations: 0 / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.1551, allocations: 0 / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.1552, allocations: 4 kB / 0.729 GB, free: 140 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.1552, allocations: 3.984 kB / 0.729 GB, free: 136 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.577e-05/0.1552, allocations: 7.938 kB / 0.729 GB, free: 128 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1552, allocations: 0 / 0.729 GB, free: 128 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.1552, allocations: 0 / 0.729 GB, free: 128 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.118e-06/0.1552, allocations: 0 / 0.729 GB, free: 128 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.1553, allocations: 4 kB / 0.729 GB, free: 124 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.902e-05/0.1553, allocations: 3.984 kB / 0.729 GB, free: 120 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1553, allocations: 4 kB / 0.729 GB, free: 116 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1553, allocations: 0 / 0.729 GB, free: 116 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1553, allocations: 0 / 0.729 GB, free: 116 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002555/0.1556, allocations: 234.4 kB / 0.7292 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1556, allocations: 8.031 kB / 0.7292 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.1556, allocations: 34.75 kB / 0.7292 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.657e-05/0.1557, allocations: 4.938 kB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.1557, allocations: 110.8 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1557, allocations: 384 / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1558, allocations: 4.375 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/0.1558, allocations: 30.2 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1558, allocations: 3.938 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1558, allocations: 4 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1558, allocations: 0 / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.185e-05/0.1559, allocations: 0 / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.156, allocations: 116.8 kB / 0.7295 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.156, allocations: 22.61 kB / 0.7295 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.156, allocations: 8.906 kB / 0.7295 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.156, allocations: 7.938 kB / 0.7295 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1561, allocations: 30.56 kB / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1561, allocations: 0 / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 9.601e-05/0.1562, allocations: 37.58 kB / 0.7296 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1562, allocations: 51.41 kB / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.97e-05/0.1562, allocations: 89.86 kB / 0.7297 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1563, allocations: 33.83 kB / 0.7298 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.1563, allocations: 84.14 kB / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1563, allocations: 7.891 kB / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.1563, allocations: 9.719 kB / 0.7299 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1565, allocations: 318.8 kB / 0.7302 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.1565, allocations: 0 / 0.7302 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1565, allocations: 3.938 kB / 0.7302 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.1565, allocations: 12.86 kB / 0.7302 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1565, allocations: 0 / 0.7302 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.239e-05/0.1566, allocations: 29.8 kB / 0.7302 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1566, allocations: 12 kB / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1566, allocations: 3.938 kB / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1566, allocations: 0 / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.1566, allocations: 0 / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.1566, allocations: 0 / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-06/0.1567, allocations: 0 / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1567, allocations: 4 kB / 0.7302 GB, free: 14.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.101e-05/0.1567, allocations: 109.8 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-06/0.1567, allocations: 3.938 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.1567, allocations: 10.92 kB / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1567, allocations: 4 kB / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1568, allocations: 3.938 kB / 0.7304 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1568, allocations: 4 kB / 0.7304 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.25e-05/0.1568, allocations: 116.8 kB / 0.7305 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1568, allocations: 0 / 0.7305 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.1569, allocations: 0 / 0.7305 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.1569, allocations: 7.984 kB / 0.7305 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1569, allocations: 3.938 kB / 0.7305 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1569, allocations: 0 / 0.7305 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1569, allocations: 0 / 0.7305 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.431e-05/0.1569, allocations: 61.14 kB / 0.7306 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.1569, allocations: 4 kB / 0.7306 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.1569, allocations: 3.938 kB / 0.7306 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.157, allocations: 3.938 kB / 0.7306 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.157, allocations: 3.984 kB / 0.7306 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.157, allocations: 0 / 0.7306 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.157, allocations: 83.22 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.157, allocations: 0 / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001619/0.1572, allocations: 0 / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003751/0.1575, allocations: 0.593 MB / 0.7312 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.063e-05/0.1576, allocations: 4 kB / 0.7312 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1576, allocations: 0 / 0.7312 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.1576, allocations: 7.938 kB / 0.7312 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.1577, allocations: 0 / 0.7312 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.158, allocations: 111.2 kB / 0.7313 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.158, allocations: 59.34 kB / 0.7314 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.326e-06/0.158, allocations: 0 / 0.7314 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.1581, allocations: 7.438 kB / 0.7314 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1581, allocations: 4.125 kB / 0.7314 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1833, allocations: 1.384 MB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.24, allocations: 11.27 kB / 0.7328 GB, free: 12 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.671133367810398] Failed to read output from testmodel.py, exit status != 0: 10.339287688955665 10.353606758 10.195449946 Calling exit ...