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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001187/0.001187, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.452/2.452, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9346/0.9368, allocations: 140.3 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2836/1.22, allocations: 246.7 MB / 1.19 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02949/1.25, allocations: 22.27 MB / 1.212 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/1.253, allocations: 47.69 kB / 1.212 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003322/1.256, allocations: 0.7846 MB / 1.212 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/1.261, allocations: 1.396 MB / 1.214 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006461/1.268, allocations: 1.762 MB / 1.215 GB, free: 256 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007329/1.275, allocations: 3.532 MB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/1.278, allocations: 1.15 MB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.281, allocations: 1.194 MB / 1.221 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/1.283, allocations: 0.9454 MB / 1.222 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/1.284, allocations: 68 kB / 1.222 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005024/1.289, allocations: 1.89 MB / 1.224 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007213/1.289, allocations: 334.9 kB / 1.224 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.291, allocations: 0.6025 MB / 1.225 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.295, allocations: 2.302 MB / 1.227 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.295, allocations: 0 / 1.227 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/1.295, allocations: 0 / 1.227 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.295, allocations: 0 / 1.227 GB, free: 4.164 MB / 0.9825 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.002319/1.297, allocations: 1.46 MB / 1.229 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.297, allocations: 16.03 kB / 1.229 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.298, allocations: 234.2 kB / 1.229 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.3, allocations: 0.8492 MB / 1.23 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/1.3, allocations: 188.8 kB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.3, allocations: 99.94 kB / 1.23 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.301, allocations: 0.9246 MB / 1.231 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/1.301, allocations: 3.938 kB / 1.231 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/1.302, allocations: 39.94 kB / 1.231 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/1.302, allocations: 31.98 kB / 1.231 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.303, allocations: 0.6207 MB / 1.232 GB, free: 15.55 MB / 0.9981 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.004821/1.308, allocations: 4.451 MB / 1.236 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/1.308, allocations: 186.7 kB / 1.236 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/1.308, allocations: 140.9 kB / 1.236 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.309, allocations: 1.021 MB / 1.237 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.309, allocations: 34.59 kB / 1.237 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.325e-06/1.309, allocations: 4 kB / 1.237 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001124/1.31, allocations: 473.8 kB / 1.238 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.311, allocations: 55.41 kB / 1.238 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/1.312, allocations: 1.106 MB / 1.239 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/1.312, allocations: 33.7 kB / 1.239 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/1.313, allocations: 0.5079 MB / 1.239 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/1.313, allocations: 86.84 kB / 1.239 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/1.313, allocations: 101.9 kB / 1.24 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.313, allocations: 318 kB / 1.24 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/1.313, allocations: 128.8 kB / 1.24 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/1.314, allocations: 387.1 kB / 1.24 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/1.314, allocations: 463.6 kB / 1.241 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.314, allocations: 4 kB / 1.241 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009647/1.315, allocations: 0.5388 MB / 1.241 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/1.315, allocations: 17.17 kB / 1.241 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.315, allocations: 7.938 kB / 1.241 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/1.315, allocations: 12 kB / 1.241 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/1.316, allocations: 87.84 kB / 1.241 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.316, allocations: 12.55 kB / 1.241 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/1.317, allocations: 119 kB / 1.242 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/1.317, allocations: 31.98 kB / 1.242 GB, free: 4.383 MB / 0.9981 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.0004202/1.317, allocations: 289.5 kB / 1.242 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/1.317, allocations: 106.6 kB / 1.242 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/1.318, allocations: 431.5 kB / 1.242 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.318, allocations: 7.984 kB / 1.242 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.318, allocations: 0 / 1.242 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.318, allocations: 0 / 1.242 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.32, allocations: 1.554 MB / 1.244 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.32, allocations: 4 kB / 1.244 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/1.321, allocations: 43.86 kB / 1.244 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/1.321, allocations: 7.984 kB / 1.244 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/1.321, allocations: 12.62 kB / 1.244 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.321, allocations: 15.94 kB / 1.244 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.321, allocations: 8 kB / 1.244 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/1.321, allocations: 0.5659 MB / 1.245 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/1.322, allocations: 243.6 kB / 1.245 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.322, allocations: 8 kB / 1.245 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/1.322, allocations: 27.97 kB / 1.245 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.322, allocations: 27.86 kB / 1.245 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/1.322, allocations: 16 kB / 1.245 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00107/1.323, allocations: 0.7822 MB / 1.246 GB, free: 32 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.323, allocations: 4 kB / 1.246 GB, free: 28 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.7098/2.033, allocations: 277.8 kB / 1.246 GB, free: 288.8 MB / 0.9981 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.0009397/2.034, allocations: 330.3 kB / 1.246 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009714/2.035, allocations: 335.7 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.035, allocations: 0.8125 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/2.036, allocations: 143.7 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/2.038, allocations: 491 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/2.042, allocations: 1.906 MB / 1.249 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/2.043, allocations: 1.063 MB / 1.25 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009398/2.043, allocations: 194.9 kB / 1.25 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/2.044, allocations: 66.92 kB / 1.25 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.362e-06/2.044, allocations: 2.594 kB / 1.25 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04321/2.087, allocations: 17.81 MB / 1.268 GB, free: 279.2 MB / 0.9981 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/jenkins/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