Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.758/1.758, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.346/3.346, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 61.64 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4585, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2492/0.7077, allocations: 171.2 MB / 1.483 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008409/0.7162, allocations: 6.1 MB / 1.489 GB, free: 7.828 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.7165, allocations: 11.94 kB / 1.489 GB, free: 7.816 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.7172, allocations: 190.7 kB / 1.489 GB, free: 7.629 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.7175, allocations: 91.36 kB / 1.489 GB, free: 7.539 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.7191, allocations: 0.5527 MB / 1.49 GB, free: 6.984 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.7198, allocations: 422.4 kB / 1.49 GB, free: 6.57 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.72, allocations: 88.22 kB / 1.49 GB, free: 6.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.7204, allocations: 199.4 kB / 1.491 GB, free: 6.285 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.7207, allocations: 155.3 kB / 1.491 GB, free: 6.133 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.7207, allocations: 19.94 kB / 1.491 GB, free: 6.113 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.7217, allocations: 490.7 kB / 1.491 GB, free: 5.633 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.7218, allocations: 71.81 kB / 1.491 GB, free: 5.562 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.7219, allocations: 103.5 kB / 1.491 GB, free: 5.461 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.7227, allocations: 454.3 kB / 1.492 GB, free: 5.016 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7227, allocations: 0 / 1.492 GB, free: 5.016 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7227, allocations: 0 / 1.492 GB, free: 5.016 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7227, allocations: 4 kB / 1.492 GB, free: 5.012 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007441/0.7234, allocations: 470.9 kB / 1.492 GB, free: 4.523 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7235, allocations: 8.031 kB / 1.492 GB, free: 4.516 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.7238, allocations: 43.84 kB / 1.492 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.7242, allocations: 203.2 kB / 1.493 GB, free: 4.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.7244, allocations: 135.3 kB / 1.493 GB, free: 4.094 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.7244, allocations: 23.94 kB / 1.493 GB, free: 4.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.725, allocations: 293.9 kB / 1.493 GB, free: 3.746 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.725, allocations: 0 / 1.493 GB, free: 3.746 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.725, allocations: 12 kB / 1.493 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.725, allocations: 8 kB / 1.493 GB, free: 3.727 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.7254, allocations: 152.6 kB / 1.493 GB, free: 3.578 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.7272, allocations: 1.556 MB / 1.495 GB, free: 1.941 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7273, allocations: 165.1 kB / 1.495 GB, free: 1.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.7273, allocations: 80.14 kB / 1.495 GB, free: 1.688 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.7274, allocations: 75.28 kB / 1.495 GB, free: 1.613 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.7274, allocations: 113.8 kB / 1.495 GB, free: 1.492 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.7274, allocations: 0 / 1.495 GB, free: 1.492 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/0.7276, allocations: 49.48 kB / 1.495 GB, free: 1.438 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7277, allocations: 126.7 kB / 1.495 GB, free: 1.301 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.7281, allocations: 313.8 kB / 1.496 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7281, allocations: 25.7 kB / 1.496 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.7283, allocations: 203.5 kB / 1.496 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.7283, allocations: 3.938 kB / 1.496 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.7284, allocations: 53.66 kB / 1.496 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.7286, allocations: 330.8 kB / 1.496 GB, free: 360 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.7287, allocations: 35.97 kB / 1.496 GB, free: 324 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.7289, allocations: 161.1 kB / 1.496 GB, free: 100 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.7292, allocations: 200.8 kB / 1.497 GB, free: 15.84 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7292, allocations: 0 / 1.497 GB, free: 15.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004516/0.7296, allocations: 217.7 kB / 1.497 GB, free: 15.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.7296, allocations: 11.94 kB / 1.497 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7297, allocations: 4 kB / 1.497 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7297, allocations: 4 kB / 1.497 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.7299, allocations: 43.92 kB / 1.497 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.7299, allocations: 8 kB / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.73, allocations: 31.73 kB / 1.497 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.7301, allocations: 15.98 kB / 1.497 GB, free: 15.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.000169/0.7302, allocations: 217.9 kB / 1.497 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.7303, allocations: 136.7 kB / 1.497 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.264e-05/0.7304, allocations: 117.8 kB / 1.497 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.152e-05/0.7305, allocations: 180.2 kB / 1.497 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.906e-05/0.7306, allocations: 180.2 kB / 1.498 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.124e-05/0.7307, allocations: 180.3 kB / 1.498 GB, free: 14.47 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.731, allocations: 460.1 kB / 1.498 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.7311, allocations: 101 kB / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.7311, allocations: 105 kB / 1.498 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.851e-05/0.7312, allocations: 192.1 kB / 1.499 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.7313, allocations: 176.3 kB / 1.499 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.801e-05/0.7314, allocations: 184.2 kB / 1.499 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.241e-05/0.7315, allocations: 180.3 kB / 1.499 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.7317, allocations: 327.9 kB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.7318, allocations: 132.8 kB / 1.5 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.7319, allocations: 188.1 kB / 1.5 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.732, allocations: 105 kB / 1.5 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.7321, allocations: 176.3 kB / 1.5 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.7322, allocations: 104.9 kB / 1.5 GB, free: 11.94 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002678/0.7324, allocations: 225.2 kB / 1.5 GB, free: 11.72 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7324, allocations: 0 / 1.5 GB, free: 11.72 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003894/0.7328, allocations: 51.88 kB / 1.5 GB, free: 11.67 MB / 1.201 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 (0): * Single equations (assignments): 0 * 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.0003372/0.7332, allocations: 203 kB / 1.501 GB, free: 11.46 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.7334, allocations: 84.28 kB / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7334, allocations: 0 / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.7334, allocations: 0 / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.734, allocations: 484.8 kB / 1.501 GB, free: 10.9 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.7346, allocations: 405 kB / 1.501 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.7351, allocations: 0.7398 MB / 1.502 GB, free: 9.711 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.7352, allocations: 33.94 kB / 1.502 GB, free: 9.68 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.7352, allocations: 19.44 kB / 1.502 GB, free: 9.66 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.7352, allocations: 0 / 1.502 GB, free: 9.66 MB / 1.201 GB Notification: Performance of Templates: time 0.006177/0.7414, allocations: 1.961 MB / 1.504 GB, free: 7.711 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.556810935027897]