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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001257/0.001257, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001449/0.001449, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.3 MB / 0.6653 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 8 kB / 0.8145 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8679, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2442/1.112, allocations: 205.6 MB / 1.154 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02622/1.138, allocations: 18.86 MB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/1.141, allocations: 43.69 kB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/1.144, allocations: 0.5908 MB / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006915/1.151, allocations: 1.488 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005249/1.156, allocations: 1.477 MB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005228/1.161, allocations: 1.776 MB / 1.178 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/1.163, allocations: 0.9266 MB / 1.179 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/1.167, allocations: 0.9149 MB / 1.18 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.168, allocations: 0.5835 MB / 1.18 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/1.168, allocations: 36 kB / 1.18 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/1.172, allocations: 0.8073 MB / 1.181 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006635/1.172, allocations: 267.1 kB / 1.181 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008984/1.173, allocations: 265.1 kB / 1.182 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/1.176, allocations: 1.488 MB / 1.183 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.176, allocations: 3.938 kB / 1.183 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.274e-06/1.176, allocations: 4 kB / 1.183 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.176, allocations: 0 / 1.183 GB, free: 4.359 MB / 0.9356 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.001875/1.178, allocations: 1.223 MB / 1.184 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.178, allocations: 8.031 kB / 1.184 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.179, allocations: 226.4 kB / 1.185 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.181, allocations: 0.8225 MB / 1.185 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.181, allocations: 184.8 kB / 1.186 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.181, allocations: 96 kB / 1.186 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.182, allocations: 0.909 MB / 1.187 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.183, allocations: 4 kB / 1.187 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/1.183, allocations: 36 kB / 1.187 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/1.183, allocations: 27.94 kB / 1.187 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.184, allocations: 0.6207 MB / 1.187 GB, free: 64 kB / 0.9356 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.004883/1.189, allocations: 4.447 MB / 1.192 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/1.189, allocations: 178.7 kB / 1.192 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007199/1.19, allocations: 0.6688 MB / 1.192 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.19, allocations: 34.55 kB / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 4.849e-06/1.19, allocations: 96 / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.001127/1.191, allocations: 458 kB / 1.193 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/1.191, allocations: 59.41 kB / 1.193 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.192, allocations: 1.094 MB / 1.194 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/1.192, allocations: 33.7 kB / 1.194 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/1.193, allocations: 0.5079 MB / 1.195 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/1.193, allocations: 86.78 kB / 1.195 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/1.193, allocations: 4 kB / 1.195 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.193, allocations: 326 kB / 1.195 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/1.193, allocations: 116.8 kB / 1.195 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/1.194, allocations: 403.5 kB / 1.195 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/1.194, allocations: 183.8 kB / 1.196 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.194, allocations: 4 kB / 1.196 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008181/1.195, allocations: 0.5466 MB / 1.196 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.195, allocations: 9.562 kB / 1.196 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.195, allocations: 8 kB / 1.196 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.195, allocations: 8 kB / 1.196 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/1.195, allocations: 96.55 kB / 1.196 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.195, allocations: 15.94 kB / 1.196 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/1.196, allocations: 134.2 kB / 1.196 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/1.196, allocations: 24 kB / 1.196 GB, free: 5.926 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004365/1.197, allocations: 293.5 kB / 1.197 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/1.197, allocations: 110.6 kB / 1.197 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/1.197, allocations: 407.8 kB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.197, allocations: 0 / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.197, allocations: 0 / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.197, allocations: 7.922 kB / 1.197 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.2, allocations: 1.519 MB / 1.199 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.2, allocations: 4 kB / 1.199 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.2, allocations: 43.92 kB / 1.199 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.2, allocations: 12.52 kB / 1.199 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.2, allocations: 8.172 kB / 1.199 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/1.2, allocations: 12 kB / 1.199 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.2, allocations: 7.938 kB / 1.199 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/1.201, allocations: 0.7905 MB / 1.2 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/1.201, allocations: 239.7 kB / 1.2 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.201, allocations: 15.98 kB / 1.2 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/1.202, allocations: 31.83 kB / 1.2 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/1.202, allocations: 31.86 kB / 1.2 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/1.202, allocations: 16 kB / 1.2 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000973/1.203, allocations: 0.7586 MB / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.203, allocations: 0 / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009687/1.204, allocations: 283.5 kB / 1.201 GB, free: 1.047 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000587/1.204, allocations: 305.2 kB / 1.201 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000613/1.205, allocations: 329.1 kB / 1.201 GB, free: 436 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.205, allocations: 3.938 kB / 1.201 GB, free: 432 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/1.205, allocations: 133.3 kB / 1.202 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.207, allocations: 486.6 kB / 1.202 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/1.211, allocations: 1.818 MB / 1.204 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.212, allocations: 1.083 MB / 1.205 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001035/1.213, allocations: 195.2 kB / 1.205 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/1.213, allocations: 71.44 kB / 1.205 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of SimCode: time 1.653e-06/1.213, allocations: 0 / 1.205 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of Templates: time 0.03328/1.246, allocations: 16.66 MB / 1.221 GB, free: 12.13 MB / 0.9825 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","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches