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.001241/0.001241, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001355/0.001355, allocations: 168.7 kB / 15.95 MB, free: 204 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.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.43 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.52/2.52, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9182, allocations: 142.4 MB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2857/1.204, allocations: 227.4 MB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02582/1.23, allocations: 20.69 MB / 1.197 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/1.232, allocations: 47.69 kB / 1.197 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.235, allocations: 0.6401 MB / 1.197 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/1.24, allocations: 1.161 MB / 1.198 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005166/1.245, allocations: 1.346 MB / 1.2 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005875/1.251, allocations: 2.985 MB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/1.253, allocations: 0.9031 MB / 1.204 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/1.256, allocations: 1.046 MB / 1.205 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/1.258, allocations: 0.8131 MB / 1.205 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/1.258, allocations: 32 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/1.261, allocations: 0.9118 MB / 1.206 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/1.261, allocations: 275 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000424/1.261, allocations: 265.1 kB / 1.207 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/1.263, allocations: 1.578 MB / 1.208 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.264, allocations: 0 / 1.208 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.934e-06/1.264, allocations: 0 / 1.208 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.264, allocations: 0 / 1.208 GB, free: 10.79 MB / 0.9669 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.001843/1.265, allocations: 1.238 MB / 1.21 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.265, allocations: 8.031 kB / 1.21 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.266, allocations: 234.4 kB / 1.21 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.268, allocations: 0.8225 MB / 1.211 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.268, allocations: 184.8 kB / 1.211 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.268, allocations: 92 kB / 1.211 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/1.27, allocations: 0.9207 MB / 1.212 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.27, allocations: 4 kB / 1.212 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/1.27, allocations: 36 kB / 1.212 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/1.27, allocations: 27.94 kB / 1.212 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.271, allocations: 0.6245 MB / 1.212 GB, free: 6.453 MB / 0.9669 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.004686/1.275, allocations: 4.443 MB / 1.217 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/1.276, allocations: 190.7 kB / 1.217 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.276, allocations: 140.8 kB / 1.217 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.277, allocations: 1.025 MB / 1.218 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.277, allocations: 38.61 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 2.665e-06/1.277, allocations: 0 / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001012/1.278, allocations: 467.2 kB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/1.278, allocations: 59.41 kB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.28, allocations: 1.098 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/1.28, allocations: 33.7 kB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.28, allocations: 0.504 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/1.28, allocations: 86.83 kB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/1.28, allocations: 8 kB / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.281, allocations: 322 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/1.281, allocations: 128.8 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/1.281, allocations: 379.1 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/1.282, allocations: 183.8 kB / 1.221 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.282, allocations: 7.953 kB / 1.221 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008036/1.282, allocations: 0.531 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.282, allocations: 10.03 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.282, allocations: 4.688 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.282, allocations: 15.94 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/1.283, allocations: 99.77 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.283, allocations: 11.94 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/1.284, allocations: 130.9 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/1.284, allocations: 24 kB / 1.222 GB, free: 11.76 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004047/1.284, allocations: 286.1 kB / 1.222 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.284, allocations: 110.9 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/1.285, allocations: 420.5 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.285, allocations: 7.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.285, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.285, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.287, allocations: 1.55 MB / 1.224 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.287, allocations: 4.562 kB / 1.224 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/1.287, allocations: 43.88 kB / 1.224 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/1.287, allocations: 12 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/1.287, allocations: 12 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.287, allocations: 4 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.287, allocations: 7.938 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/1.288, allocations: 0.5612 MB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/1.288, allocations: 247.6 kB / 1.225 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.289, allocations: 12 kB / 1.225 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/1.289, allocations: 35.91 kB / 1.225 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/1.289, allocations: 31.88 kB / 1.225 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.289, allocations: 12.06 kB / 1.225 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001045/1.29, allocations: 0.7703 MB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.29, allocations: 0 / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001/1.291, allocations: 279.5 kB / 1.226 GB, free: 7.152 MB / 0.9825 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.000731/1.292, allocations: 316.5 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006333/1.292, allocations: 343.4 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/1.292, allocations: 4 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.293, allocations: 141.9 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.295, allocations: 490.1 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/1.297, allocations: 1.801 MB / 1.229 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/1.298, allocations: 1.063 MB / 1.23 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006786/1.299, allocations: 194.1 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.299, allocations: 75.42 kB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.299, allocations: 0 / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.03236/1.331, allocations: 16.84 MB / 1.247 GB, free: 2.059 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