Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009242/0.0009242, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0009023/0.0009023, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.938/0.938, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.899/1.899, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Reals.Validation.Subtract,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.143e-05, allocations: 4.953 kB / 1.001 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001365/0.001396, allocations: 0.6951 MB / 1.001 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.002372, allocations: 0.8198 MB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.002432, allocations: 4 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.002467, allocations: 3.938 kB / 1.002 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.002563, allocations: 11.81 kB / 1.002 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 8.492e-05/0.002648, allocations: 11.98 kB / 1.002 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.002756, allocations: 59.83 kB / 1.002 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.002883, allocations: 8 kB / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.002985, allocations: 23.97 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.003033, allocations: 15.92 kB / 1.002 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.003056, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.003066, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.003086, allocations: 4 kB / 1.002 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.003115, allocations: 15.92 kB / 1.002 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003224, allocations: 43.86 kB / 1.002 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003226, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003227, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003231, allocations: 4 kB / 1.002 GB, free: 10.59 MB / 0.9167 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.0004389/0.00367, allocations: 282.2 kB / 1.003 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.003714, allocations: 13.34 kB / 1.003 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.00375, allocations: 34.75 kB / 1.003 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.003772, allocations: 4.891 kB / 1.003 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.003856, allocations: 109.8 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003868, allocations: 4.375 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.003876, allocations: 4.312 kB / 1.003 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.004042, allocations: 78.14 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00405, allocations: 192 / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004061, allocations: 4.359 kB / 1.003 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004067, allocations: 8.125 kB / 1.003 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.004211, allocations: 59.92 kB / 1.003 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.004573, allocations: 228 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.004699, allocations: 66.47 kB / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.00478, allocations: 36.92 kB / 1.003 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.00479, allocations: 3.938 kB / 1.003 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.004808, allocations: 34.56 kB / 1.003 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.00481, allocations: 0 / 1.003 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003037/0.005113, allocations: 129.6 kB / 1.003 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.005142, allocations: 51.41 kB / 1.004 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.005214, allocations: 117.7 kB / 1.004 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.005225, allocations: 25.7 kB / 1.004 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.005266, allocations: 92.09 kB / 1.004 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005284, allocations: 7.938 kB / 1.004 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.005311, allocations: 17.72 kB / 1.004 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.005393, allocations: 314.8 kB / 1.004 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.005466, allocations: 31.95 kB / 1.004 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.005532, allocations: 31.97 kB / 1.004 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.005663, allocations: 68.72 kB / 1.004 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005666, allocations: 8 kB / 1.004 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001551/0.005821, allocations: 97.52 kB / 1.004 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005832, allocations: 8 kB / 1.004 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005837, allocations: 7.938 kB / 1.004 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005848, allocations: 0 / 1.004 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.005925, allocations: 15.98 kB / 1.004 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.005929, allocations: 0 / 1.004 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.005964, allocations: 15.97 kB / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.005971, allocations: 8 kB / 1.004 GB, free: 8.414 MB / 0.9167 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 5.037e-05/0.006022, allocations: 105.8 kB / 1.004 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.006035, allocations: 7.938 kB / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.006054, allocations: 8 kB / 1.004 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006055, allocations: 0 / 1.004 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.00606, allocations: 3.938 kB / 1.004 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.006062, allocations: 0 / 1.004 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.006168, allocations: 136.7 kB / 1.005 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006168, allocations: 8 kB / 1.005 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.006207, allocations: 15.92 kB / 1.005 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.006208, allocations: 0 / 1.005 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.006214, allocations: 336 / 1.005 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006216, allocations: 4 kB / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-07/0.006216, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.006411, allocations: 203.3 kB / 1.005 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.006418, allocations: 7.938 kB / 1.005 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.006428, allocations: 4 kB / 1.005 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.006475, allocations: 7.984 kB / 1.005 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.006515, allocations: 11.98 kB / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006517, allocations: 0 / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.133e-05/0.006548, allocations: 83.28 kB / 1.005 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006548, allocations: 0 / 1.005 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001444/0.006692, allocations: 11.94 kB / 1.005 GB, free: 7.73 MB / 0.9167 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.0004139/0.007106, allocations: 0.7357 MB / 1.006 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.007309, allocations: 63.92 kB / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.00731, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.007386, allocations: 43.95 kB / 1.006 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.007605, allocations: 5.891 kB / 1.006 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.00796, allocations: 155.2 kB / 1.006 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.008005, allocations: 71.22 kB / 1.006 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.008029, allocations: 7.938 kB / 1.006 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.008068, allocations: 16.5 kB / 1.006 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of SimCode: time 4e-07/0.008068, allocations: 0 / 1.006 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/0.08628, allocations: 2.33 MB / 1.008 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.488, allocations: 2.406 kB / 1.008 GB, free: 4.359 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.161117433570325]