Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001133/0.001133, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001223/0.001223, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8498/0.8498, allocations: 177.1 MB / 203.5 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.03e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7017/0.7017, allocations: 221.7 MB / 1.168 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.7206, allocations: 20.45 MB / 1.188 GB, free: 15.52 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.7219, allocations: 78.44 kB / 1.188 GB, free: 15.48 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.7239, allocations: 1.006 MB / 1.189 GB, free: 14.81 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.7268, allocations: 1.568 MB / 1.191 GB, free: 13.89 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.7305, allocations: 2.031 MB / 1.193 GB, free: 12.86 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.7331, allocations: 2.726 MB / 1.195 GB, free: 11.52 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.7341, allocations: 0.9579 MB / 1.196 GB, free: 11.02 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.7362, allocations: 1.777 MB / 1.198 GB, free: 10.2 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007856/0.737, allocations: 0.8271 MB / 1.199 GB, free: 9.926 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.7371, allocations: 110.2 kB / 1.199 GB, free: 9.926 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.7395, allocations: 1.435 MB / 1.2 GB, free: 9.391 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.7398, allocations: 412.2 kB / 1.201 GB, free: 9.172 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.7401, allocations: 441.4 kB / 1.201 GB, free: 8.988 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.742, allocations: 2.351 MB / 1.203 GB, free: 8.191 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.742, allocations: 0 / 1.203 GB, free: 8.191 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.013e-06/0.742, allocations: 0 / 1.203 GB, free: 8.191 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7421, allocations: 0 / 1.203 GB, free: 8.191 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001355/0.7434, allocations: 1.449 MB / 1.205 GB, free: 7.195 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7434, allocations: 8.281 kB / 1.205 GB, free: 7.195 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.7441, allocations: 240.7 kB / 1.205 GB, free: 7.113 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.7451, allocations: 0.8624 MB / 1.206 GB, free: 6.605 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.7452, allocations: 292.5 kB / 1.206 GB, free: 6.32 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.7453, allocations: 101.4 kB / 1.206 GB, free: 6.285 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.7463, allocations: 0.9319 MB / 1.207 GB, free: 5.758 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7463, allocations: 3.938 kB / 1.207 GB, free: 5.754 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.7463, allocations: 39.12 kB / 1.207 GB, free: 5.723 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.7464, allocations: 22.38 kB / 1.207 GB, free: 5.723 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.7471, allocations: 0.6261 MB / 1.208 GB, free: 5.414 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.7493, allocations: 2.639 MB / 1.211 GB, free: 3.363 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.7496, allocations: 181.2 kB / 1.211 GB, free: 3.258 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.7497, allocations: 139.4 kB / 1.211 GB, free: 3.184 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.75, allocations: 126.5 kB / 1.211 GB, free: 3.141 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.7501, allocations: 36.8 kB / 1.211 GB, free: 3.098 MB / 1.026 GB Notification: Performance of pre-optimization done (n=24): time 1.532e-06/0.7501, allocations: 0 / 1.211 GB, free: 3.098 MB / 1.026 GB Notification: Performance of matching and sorting (n=24): time 0.000611/0.7507, allocations: 443.9 kB / 1.211 GB, free: 2.871 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.7507, allocations: 53.78 kB / 1.211 GB, free: 2.809 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.7513, allocations: 0.727 MB / 1.212 GB, free: 2.383 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.7513, allocations: 32.48 kB / 1.212 GB, free: 2.348 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.7517, allocations: 0.5529 MB / 1.213 GB, free: 1.852 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.7517, allocations: 96.5 kB / 1.213 GB, free: 1.77 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.7518, allocations: 94.08 kB / 1.213 GB, free: 1.711 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.7519, allocations: 323 kB / 1.213 GB, free: 1.395 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.752, allocations: 129.2 kB / 1.213 GB, free: 1.332 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.7524, allocations: 0.7321 MB / 1.214 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.7528, allocations: 470.1 kB / 1.215 GB, free: 124 kB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7528, allocations: 2.562 kB / 1.215 GB, free: 124 kB / 1.026 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005569/0.7534, allocations: 0.5159 MB / 1.215 GB, free: 15.84 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7534, allocations: 5.438 kB / 1.215 GB, free: 15.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.7534, allocations: 8 kB / 1.215 GB, free: 15.84 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7534, allocations: 7.812 kB / 1.215 GB, free: 15.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.7536, allocations: 93.48 kB / 1.215 GB, free: 15.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7536, allocations: 8.094 kB / 1.215 GB, free: 15.81 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.7539, allocations: 47.28 kB / 1.215 GB, free: 15.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.7539, allocations: 32.94 kB / 1.215 GB, free: 15.78 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0002491/0.7541, allocations: 289.6 kB / 1.215 GB, free: 15.55 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.7542, allocations: 78.3 kB / 1.216 GB, free: 15.51 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.7547, allocations: 409 kB / 1.216 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.7547, allocations: 1.969 kB / 1.216 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7547, allocations: 288 / 1.216 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7547, allocations: 7.031 kB / 1.216 GB, free: 15.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7559, allocations: 1.341 MB / 1.217 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7559, allocations: 10.12 kB / 1.217 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.756, allocations: 43.62 kB / 1.217 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.756, allocations: 5.469 kB / 1.217 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.756, allocations: 9.031 kB / 1.217 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.756, allocations: 9.75 kB / 1.217 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.756, allocations: 8.969 kB / 1.217 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.7564, allocations: 0.5538 MB / 1.218 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.7565, allocations: 115.1 kB / 1.218 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.7566, allocations: 19.83 kB / 1.218 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.7567, allocations: 5.344 kB / 1.218 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.7567, allocations: 30.47 kB / 1.218 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.7568, allocations: 18.72 kB / 1.218 GB, free: 13.67 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003959/0.7572, allocations: 0.5001 MB / 1.219 GB, free: 13.38 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7572, allocations: 0 / 1.219 GB, free: 13.38 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005754/0.7577, allocations: 327.8 kB / 1.219 GB, free: 13.29 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003995/0.7581, allocations: 313 kB / 1.219 GB, free: 13.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.7585, allocations: 326.5 kB / 1.219 GB, free: 12.95 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7585, allocations: 2.625 kB / 1.219 GB, free: 12.95 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.7587, allocations: 142 kB / 1.22 GB, free: 12.88 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.7594, allocations: 276.6 kB / 1.22 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.7609, allocations: 1.59 MB / 1.221 GB, free: 11.67 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.7612, allocations: 491.3 kB / 1.222 GB, free: 11.38 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.7614, allocations: 57.67 kB / 1.222 GB, free: 11.37 MB / 1.042 GB Notification: Performance of SimCode: time 8.92e-07/0.7614, allocations: 0 / 1.222 GB, free: 11.37 MB / 1.042 GB Notification: Performance of Templates: time 0.01223/0.7736, allocations: 14.51 MB / 1.236 GB, free: 3.691 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: 8.43091790471226]