Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001783/0.001783, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001882/0.001882, allocations: 192.9 kB / 16.25 MB, free: 6.633 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.522/1.522, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.759, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9632/1.722, allocations: 246 MB / 1.257 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02572/1.748, allocations: 22.09 MB / 1.279 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/1.75, allocations: 50.28 kB / 1.279 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/1.752, allocations: 0.8498 MB / 1.279 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/1.756, allocations: 1.379 MB / 1.281 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/1.762, allocations: 1.786 MB / 1.283 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0037/1.765, allocations: 2.7 MB / 1.285 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.767, allocations: 1.306 MB / 1.286 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/1.77, allocations: 1.335 MB / 1.288 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/1.771, allocations: 0.9553 MB / 1.289 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/1.771, allocations: 109.3 kB / 1.289 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/1.775, allocations: 1.731 MB / 1.291 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/1.776, allocations: 378.7 kB / 1.291 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007838/1.776, allocations: 0.6402 MB / 1.291 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003353/1.78, allocations: 2.34 MB / 1.294 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.78, allocations: 0 / 1.294 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.455e-06/1.78, allocations: 0.9062 kB / 1.294 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.094e-05/1.78, allocations: 0 / 1.294 GB, free: 1.406 MB / 0.9981 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.002308/1.782, allocations: 1.464 MB / 1.295 GB, free: 16.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.782, allocations: 9.188 kB / 1.295 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.783, allocations: 234.6 kB / 1.295 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/1.785, allocations: 0.8525 MB / 1.296 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/1.785, allocations: 188.4 kB / 1.296 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.785, allocations: 90.66 kB / 1.297 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.786, allocations: 0.9291 MB / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.786, allocations: 1.031 kB / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/1.786, allocations: 35.75 kB / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/1.787, allocations: 21.44 kB / 1.298 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.788, allocations: 0.6365 MB / 1.298 GB, free: 15.95 MB / 1.014 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.004741/1.792, allocations: 4.438 MB / 1.302 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/1.793, allocations: 189.9 kB / 1.303 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/1.793, allocations: 143.5 kB / 1.303 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.794, allocations: 1.022 MB / 1.304 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.794, allocations: 37.33 kB / 1.304 GB, free: 12.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.245e-06/1.794, allocations: 2.312 kB / 1.304 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009931/1.795, allocations: 467 kB / 1.304 GB, free: 11.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/1.795, allocations: 57.78 kB / 1.304 GB, free: 11.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.796, allocations: 1.115 MB / 1.305 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/1.796, allocations: 32.23 kB / 1.305 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/1.797, allocations: 0.5096 MB / 1.306 GB, free: 11.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/1.797, allocations: 85.75 kB / 1.306 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.797, allocations: 98.86 kB / 1.306 GB, free: 11.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.797, allocations: 325 kB / 1.306 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.797, allocations: 129.5 kB / 1.307 GB, free: 11.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/1.798, allocations: 387.4 kB / 1.307 GB, free: 10.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/1.798, allocations: 465.1 kB / 1.307 GB, free: 10.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.798, allocations: 3.625 kB / 1.307 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008199/1.799, allocations: 0.5349 MB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.799, allocations: 9.75 kB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.799, allocations: 8.125 kB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.799, allocations: 8.062 kB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/1.8, allocations: 88.94 kB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/1.8, allocations: 16.97 kB / 1.308 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/1.801, allocations: 130.2 kB / 1.308 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.801, allocations: 27.69 kB / 1.308 GB, free: 10.45 MB / 1.014 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.0003834/1.801, allocations: 286.9 kB / 1.308 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.801, allocations: 104.5 kB / 1.309 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/1.802, allocations: 427.8 kB / 1.309 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.802, allocations: 3.125 kB / 1.309 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.802, allocations: 7.594 kB / 1.309 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.802, allocations: 3.984 kB / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.804, allocations: 1.55 MB / 1.31 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.804, allocations: 6.156 kB / 1.31 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.804, allocations: 44.02 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.804, allocations: 6 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.804, allocations: 11.38 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.804, allocations: 12.69 kB / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.804, allocations: 5.188 kB / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/1.805, allocations: 0.5678 MB / 1.311 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/1.805, allocations: 240 kB / 1.311 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/1.805, allocations: 12.28 kB / 1.311 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/1.806, allocations: 30.41 kB / 1.311 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/1.806, allocations: 35.38 kB / 1.311 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/1.806, allocations: 12.53 kB / 1.311 GB, free: 9.254 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000916/1.807, allocations: 0.7781 MB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.807, allocations: 1.203 kB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009203/1.808, allocations: 286.2 kB / 1.312 GB, free: 9.105 MB / 1.014 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.0007085/1.808, allocations: 339.6 kB / 1.313 GB, free: 8.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005461/1.809, allocations: 350.7 kB / 1.313 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.809, allocations: 2.406 kB / 1.313 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.809, allocations: 137.5 kB / 1.313 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.811, allocations: 0.5188 MB / 1.314 GB, free: 8.906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.814, allocations: 1.907 MB / 1.316 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.815, allocations: 1.065 MB / 1.317 GB, free: 7.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007332/1.815, allocations: 195.3 kB / 1.317 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.816, allocations: 67.16 kB / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.816, allocations: 0 / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of Templates: time 0.03158/1.847, allocations: 18.37 MB / 1.335 GB, free: 5.668 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches