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.001472/0.001472, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0017/0.0017, allocations: 216.6 kB / 22.99 MB, free: 4.977 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.006/1.006, allocations: 149.9 MB / 463 MB, free: 10.32 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.002079/0.002079, allocations: 67.23 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2162, allocations: 89.17 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002083/0.2183, allocations: 0.6808 MB / 0.7289 GB, free: 296 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2194, allocations: 0.8237 MB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.2194, allocations: 3.938 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.2194, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.2195, allocations: 11.88 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.321e-05/0.2196, allocations: 7.984 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.2197, allocations: 47.91 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2198, allocations: 8 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.2198, allocations: 19.92 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.2199, allocations: 15.92 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2199, allocations: 4 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.2199, allocations: 4 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.2199, allocations: 15.91 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.22, allocations: 11.94 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2201, allocations: 44.08 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2201, allocations: 3.938 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2201, allocations: 4 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2201, allocations: 0 / 0.7299 GB, free: 15.25 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.0005571/0.2206, allocations: 298.2 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.2207, allocations: 8.031 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.2207, allocations: 30.75 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2207, allocations: 4.938 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2209, allocations: 114.4 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2209, allocations: 4.375 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2209, allocations: 384 / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2212, allocations: 78.2 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2212, allocations: 7.922 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2212, allocations: 0 / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2212, allocations: 0 / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2215, allocations: 67.86 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.2219, allocations: 232 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2221, allocations: 58.53 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2223, allocations: 36.92 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2223, allocations: 0 / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2223, allocations: 38.5 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2223, allocations: 0 / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005484/0.2229, allocations: 133.5 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2229, allocations: 51.41 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.223, allocations: 113.8 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.223, allocations: 29.7 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.2231, allocations: 80.14 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.2231, allocations: 11.94 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.2232, allocations: 13.72 kB / 0.7312 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2233, allocations: 322.8 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2235, allocations: 35.89 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2236, allocations: 27.97 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.2239, allocations: 76.66 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2239, allocations: 8 kB / 0.7317 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.2242, allocations: 97.58 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2242, allocations: 4 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2242, allocations: 0 / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2242, allocations: 0 / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2244, allocations: 15.98 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2244, allocations: 7.984 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.2245, allocations: 11.98 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2245, allocations: 0 / 0.7318 GB, free: 13.08 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 9.595e-05/0.2246, allocations: 117.8 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2246, allocations: 3.953 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.2246, allocations: 11.94 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2246, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2246, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2246, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2248, allocations: 140.7 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2248, allocations: 4.328 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.2249, allocations: 15.98 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2249, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.2249, allocations: 3.938 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2249, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2249, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.2253, allocations: 199.4 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.2253, allocations: 15.89 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2253, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2254, allocations: 11.98 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2255, allocations: 3.984 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2255, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2255, allocations: 91.22 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2255, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002125/0.2258, allocations: 8 kB / 0.7324 GB, free: 12.39 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.0007674/0.2265, allocations: 0.7241 MB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.2269, allocations: 67.92 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2269, allocations: 7.938 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.227, allocations: 39.95 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2274, allocations: 9.812 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.2279, allocations: 159.1 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.228, allocations: 67.3 kB / 0.7334 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.228, allocations: 0 / 0.7334 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.2281, allocations: 15.44 kB / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2281, allocations: 4 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.2581, allocations: 2.188 MB / 0.7356 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.38, allocations: 6.016 kB / 0.7356 GB, free: 9.168 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.289282431360334] Failed to read output from testmodel.py, exit status != 0: 11.490294555202127 11.506633319 11.283129807 Calling exit ...