Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001226/0.001226, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001341/0.001341, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.007/1.007, allocations: 150 MB / 463.2 MB, free: 10.46 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.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",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.0021/0.0021, allocations: 70.61 kB / 0.6413 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2084, allocations: 89.17 MB / 0.7284 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001994/0.2104, allocations: 0.6985 MB / 0.7291 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2115, allocations: 0.8276 MB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.2115, allocations: 0 / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.2116, allocations: 3.938 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.2116, allocations: 7.938 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.2117, allocations: 11.98 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.2118, allocations: 47.84 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2119, allocations: 15.92 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.212, allocations: 15.98 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.212, allocations: 23.86 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.212, allocations: 0 / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.212, allocations: 4 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2121, allocations: 11.98 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2121, allocations: 15.94 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2122, allocations: 44.02 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.2122, allocations: 4 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2122, allocations: 3.984 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2122, allocations: 4 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005311/0.2128, allocations: 294.2 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2128, allocations: 8.031 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.2128, allocations: 30.75 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.2129, allocations: 4.938 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.213, allocations: 118.4 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.213, allocations: 384 / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.213, allocations: 12.31 kB / 0.7305 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2132, allocations: 66.22 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2132, allocations: 3.938 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2133, allocations: 4 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2133, allocations: 0 / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.2135, allocations: 63.92 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.2139, allocations: 236 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.2141, allocations: 62.45 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2142, allocations: 40.91 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2143, allocations: 4 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2143, allocations: 30.56 kB / 0.731 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2143, allocations: 0 / 0.731 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000502/0.2148, allocations: 133.5 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.2148, allocations: 63.33 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.2149, allocations: 101.9 kB / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2149, allocations: 29.69 kB / 0.7313 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.215, allocations: 88.14 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.215, allocations: 3.953 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.215, allocations: 13.72 kB / 0.7314 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2152, allocations: 318.8 kB / 0.7317 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2153, allocations: 35.91 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2154, allocations: 31.97 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.2157, allocations: 68.72 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2157, allocations: 0 / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002925/0.216, allocations: 105.5 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.216, allocations: 11.98 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.216, allocations: 0 / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.216, allocations: 0 / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2161, allocations: 15.98 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2161, allocations: 0 / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.2162, allocations: 15.98 kB / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2162, allocations: 4 kB / 0.732 GB, free: 13.26 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 (3): * Single equations (assignments): 3 * 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.422e-05/0.2163, allocations: 117.8 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.2163, allocations: 7.953 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.2164, allocations: 11.98 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2164, allocations: 0 / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2164, allocations: 3.938 kB / 0.7322 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2164, allocations: 0 / 0.7322 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.2165, allocations: 136.7 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2165, allocations: 4 kB / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.2166, allocations: 19.98 kB / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2166, allocations: 3.984 kB / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2167, allocations: 0 / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2167, allocations: 0 / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.2167, allocations: 0 / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.217, allocations: 199.7 kB / 0.7325 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.217, allocations: 7.891 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.217, allocations: 0 / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2171, allocations: 20.02 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2172, allocations: 3.984 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2172, allocations: 4 kB / 0.7325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.2172, allocations: 87.58 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2172, allocations: 4 kB / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000213/0.2174, allocations: 8 kB / 0.7326 GB, free: 12.55 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 (3): * Single equations (assignments): 3 * 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.0006709/0.2181, allocations: 0.728 MB / 0.7333 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2184, allocations: 67.92 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2184, allocations: 3.938 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.2186, allocations: 31.97 kB / 0.7334 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.2189, allocations: 12.23 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.2194, allocations: 155.8 kB / 0.7336 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.2197, allocations: 0.6807 MB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.2197, allocations: 0 / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.2198, allocations: 23.42 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2198, allocations: 0 / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.247, allocations: 1.734 MB / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.88, allocations: 12.5 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.96780753600251] Failed to read output from testmodel.py, exit status != 0: 10.993530439001916 11.021401163 10.804068592 Calling exit ...