Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9914, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3119/1.303, allocations: 249 MB / 1.332 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03218/1.336, allocations: 22.27 MB / 1.354 GB, free: 14.2 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/1.338, allocations: 51.69 kB / 1.354 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/1.342, allocations: 0.9703 MB / 1.355 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/1.348, allocations: 1.462 MB / 1.356 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006825/1.354, allocations: 1.949 MB / 1.358 GB, free: 9.758 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00452/1.359, allocations: 2.69 MB / 1.36 GB, free: 7.055 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/1.361, allocations: 1.324 MB / 1.362 GB, free: 5.695 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/1.365, allocations: 1.358 MB / 1.363 GB, free: 4.332 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/1.367, allocations: 0.9066 MB / 1.364 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003394/1.367, allocations: 108 kB / 1.364 GB, free: 3.316 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/1.371, allocations: 1.68 MB / 1.366 GB, free: 1.633 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006745/1.372, allocations: 370.9 kB / 1.366 GB, free: 1.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/1.373, allocations: 0.6377 MB / 1.367 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/1.378, allocations: 2.278 MB / 1.369 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.378, allocations: 4 kB / 1.369 GB, free: 14.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.184e-06/1.378, allocations: 0 / 1.369 GB, free: 14.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.302e-05/1.378, allocations: 0 / 1.369 GB, free: 14.34 MB / 1.107 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.003157/1.381, allocations: 1.468 MB / 1.37 GB, free: 12.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.381, allocations: 8.031 kB / 1.37 GB, free: 12.81 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/1.382, allocations: 226.4 kB / 1.371 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.385, allocations: 0.9271 MB / 1.371 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/1.385, allocations: 188.8 kB / 1.372 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/1.385, allocations: 95.94 kB / 1.372 GB, free: 11.31 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.387, allocations: 0.9285 MB / 1.373 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.387, allocations: 4 kB / 1.373 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/1.387, allocations: 36 kB / 1.373 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/1.387, allocations: 20 kB / 1.373 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.388, allocations: 0.6324 MB / 1.373 GB, free: 9.656 MB / 1.107 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.0058/1.394, allocations: 4.416 MB / 1.378 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/1.395, allocations: 194.5 kB / 1.378 GB, free: 4.648 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/1.395, allocations: 144.8 kB / 1.378 GB, free: 4.504 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.396, allocations: 1.021 MB / 1.379 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.396, allocations: 34.56 kB / 1.379 GB, free: 3.219 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/1.396, allocations: 0 / 1.379 GB, free: 3.219 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001233/1.397, allocations: 481.4 kB / 1.379 GB, free: 2.742 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.397, allocations: 51.41 kB / 1.38 GB, free: 2.68 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.399, allocations: 1.106 MB / 1.381 GB, free: 1.559 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/1.399, allocations: 37.69 kB / 1.381 GB, free: 1.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/1.4, allocations: 0.504 MB / 1.381 GB, free: 1.008 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/1.4, allocations: 86.83 kB / 1.381 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.4, allocations: 101.9 kB / 1.381 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.4, allocations: 326 kB / 1.382 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/1.4, allocations: 128.8 kB / 1.382 GB, free: 376 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/1.401, allocations: 387.1 kB / 1.382 GB, free: 15.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/1.402, allocations: 471.6 kB / 1.383 GB, free: 15.33 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.402, allocations: 0 / 1.383 GB, free: 15.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001172/1.403, allocations: 0.5392 MB / 1.383 GB, free: 14.78 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.403, allocations: 11.94 kB / 1.383 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.403, allocations: 8 kB / 1.383 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.403, allocations: 11.94 kB / 1.383 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.403, allocations: 87.89 kB / 1.383 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.403, allocations: 11.94 kB / 1.383 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/1.404, allocations: 94.94 kB / 1.383 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/1.404, allocations: 28.17 kB / 1.383 GB, free: 14.53 MB / 1.123 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.0005021/1.405, allocations: 293.6 kB / 1.384 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/1.405, allocations: 102.7 kB / 1.384 GB, free: 14.13 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/1.406, allocations: 419.1 kB / 1.384 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.406, allocations: 4 kB / 1.384 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.406, allocations: 0 / 1.384 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.406, allocations: 7.984 kB / 1.384 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.408, allocations: 1.546 MB / 1.386 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.408, allocations: 8.094 kB / 1.386 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.408, allocations: 47.86 kB / 1.386 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/1.409, allocations: 8 kB / 1.386 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.409, allocations: 8 kB / 1.386 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/1.409, allocations: 12.05 kB / 1.386 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.409, allocations: 7.938 kB / 1.386 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/1.409, allocations: 0.5712 MB / 1.386 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/1.41, allocations: 235.7 kB / 1.386 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.41, allocations: 15.98 kB / 1.387 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/1.41, allocations: 15.98 kB / 1.387 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/1.411, allocations: 27.86 kB / 1.387 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/1.411, allocations: 19.98 kB / 1.387 GB, free: 10.99 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001288/1.412, allocations: 0.7744 MB / 1.387 GB, free: 10.21 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.412, allocations: 4 kB / 1.387 GB, free: 10.2 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001106/1.413, allocations: 283.5 kB / 1.388 GB, free: 9.926 MB / 1.123 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.000853/1.414, allocations: 342.3 kB / 1.388 GB, free: 9.594 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007511/1.415, allocations: 347.4 kB / 1.388 GB, free: 9.254 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.415, allocations: 0 / 1.388 GB, free: 9.254 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.415, allocations: 142.1 kB / 1.388 GB, free: 9.117 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.417, allocations: 0.508 MB / 1.389 GB, free: 8.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/1.42, allocations: 1.615 MB / 1.39 GB, free: 6.906 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/1.421, allocations: 1.059 MB / 1.391 GB, free: 5.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.421, allocations: 71.42 kB / 1.392 GB, free: 5.75 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/1.421, allocations: 0 / 1.392 GB, free: 5.75 MB / 1.123 GB Notification: Performance of Templates: time 0.02759/1.449, allocations: 17.22 MB / 1.408 GB, free: 4.668 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches