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.001528/0.001528, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 200 kB / 16.79 MB, free: 6.828 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.475/2.475, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7562, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2732/1.029, allocations: 246.7 MB / 1.19 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03004/1.06, allocations: 22.27 MB / 1.212 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/1.062, allocations: 51.69 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003145/1.065, allocations: 0.7885 MB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004324/1.07, allocations: 1.396 MB / 1.214 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/1.075, allocations: 1.762 MB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004879/1.08, allocations: 3.532 MB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/1.082, allocations: 1.15 MB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/1.086, allocations: 1.202 MB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.088, allocations: 0.9377 MB / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/1.088, allocations: 64 kB / 1.223 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/1.093, allocations: 1.901 MB / 1.225 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006052/1.093, allocations: 334.9 kB / 1.225 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/1.095, allocations: 0.6025 MB / 1.226 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/1.098, allocations: 1.715 MB / 1.227 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/1.098, allocations: 0 / 1.227 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.366e-06/1.098, allocations: 4 kB / 1.227 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-05/1.098, allocations: 0 / 1.227 GB, free: 4.754 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.002951/1.101, allocations: 1.46 MB / 1.229 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.101, allocations: 12.03 kB / 1.229 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.102, allocations: 226.3 kB / 1.229 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/1.104, allocations: 0.8453 MB / 1.23 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.104, allocations: 192.8 kB / 1.23 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.104, allocations: 95.88 kB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.106, allocations: 0.9363 MB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/1.106, allocations: 0 / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/1.106, allocations: 39.94 kB / 1.231 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/1.106, allocations: 31.94 kB / 1.231 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/1.107, allocations: 0.6285 MB / 1.232 GB, free: 144 kB / 0.9825 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.004995/1.112, allocations: 4.439 MB / 1.236 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/1.112, allocations: 178.7 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/1.113, allocations: 140.9 kB / 1.236 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.114, allocations: 1.021 MB / 1.237 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.114, allocations: 38.59 kB / 1.237 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.174e-06/1.114, allocations: 4 kB / 1.237 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.00116/1.115, allocations: 473.4 kB / 1.238 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.115, allocations: 51.41 kB / 1.238 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.117, allocations: 1.11 MB / 1.239 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/1.117, allocations: 33.7 kB / 1.239 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/1.117, allocations: 0.5118 MB / 1.239 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/1.117, allocations: 82.84 kB / 1.24 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.117, allocations: 97.94 kB / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.118, allocations: 322 kB / 1.24 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/1.118, allocations: 128.8 kB / 1.24 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/1.118, allocations: 388.6 kB / 1.24 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/1.119, allocations: 471.5 kB / 1.241 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.119, allocations: 0 / 1.241 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009823/1.12, allocations: 0.5389 MB / 1.241 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.12, allocations: 11.94 kB / 1.241 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.12, allocations: 8 kB / 1.241 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.12, allocations: 11.94 kB / 1.241 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/1.12, allocations: 91.83 kB / 1.242 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.12, allocations: 8 kB / 1.242 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/1.121, allocations: 131.5 kB / 1.242 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/1.121, allocations: 24 kB / 1.242 GB, free: 4.984 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.0004288/1.122, allocations: 285.6 kB / 1.242 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/1.122, allocations: 110.6 kB / 1.242 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/1.123, allocations: 431.4 kB / 1.242 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/1.123, allocations: 7.938 kB / 1.242 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.123, allocations: 0 / 1.242 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.123, allocations: 0 / 1.242 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/1.125, allocations: 1.554 MB / 1.244 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.125, allocations: 4.281 kB / 1.244 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.125, allocations: 43.86 kB / 1.244 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.125, allocations: 8 kB / 1.244 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/1.125, allocations: 8.062 kB / 1.244 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.125, allocations: 16.5 kB / 1.244 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.125, allocations: 4 kB / 1.244 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/1.126, allocations: 0.5776 MB / 1.245 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/1.126, allocations: 239.7 kB / 1.245 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/1.127, allocations: 8 kB / 1.245 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/1.127, allocations: 31.97 kB / 1.245 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/1.127, allocations: 31.84 kB / 1.245 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.127, allocations: 8 kB / 1.245 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001056/1.128, allocations: 0.7783 MB / 1.246 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.128, allocations: 4 kB / 1.246 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009496/1.129, allocations: 287.5 kB / 1.246 GB, free: 360 kB / 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.0007672/1.13, allocations: 334.2 kB / 1.246 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4752/1.605, allocations: 327.8 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/1.605, allocations: 0.7812 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.606, allocations: 147.1 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.608, allocations: 490.1 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/1.611, allocations: 1.945 MB / 1.249 GB, free: 287.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/1.611, allocations: 1.061 MB / 1.25 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/1.611, allocations: 75.47 kB / 1.25 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.611, allocations: 0 / 1.25 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02948/1.641, allocations: 17.1 MB / 1.267 GB, free: 279.7 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/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