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.0009758/0.0009758, allocations: 97.78 kB / 16.02 MB, free: 76 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.001427/0.001427, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.495/1.495, allocations: 223.3 MB / 241 MB, free: 5.34 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.379/2.379, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 15.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8028, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.291/1.094, allocations: 243.4 MB / 1.193 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02973/1.124, allocations: 22 MB / 1.215 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/1.126, allocations: 43.69 kB / 1.215 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/1.129, allocations: 0.7885 MB / 1.216 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/1.133, allocations: 1.392 MB / 1.217 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005023/1.138, allocations: 1.768 MB / 1.219 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004754/1.143, allocations: 3.525 MB / 1.222 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/1.145, allocations: 1.085 MB / 1.223 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/1.148, allocations: 1.128 MB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.15, allocations: 0.8557 MB / 1.225 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/1.15, allocations: 36 kB / 1.225 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/1.154, allocations: 1.874 MB / 1.227 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004879/1.154, allocations: 283 kB / 1.227 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.155, allocations: 0.5612 MB / 1.228 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/1.158, allocations: 1.695 MB / 1.23 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.158, allocations: 0 / 1.23 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/1.158, allocations: 0 / 1.23 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.165e-05/1.158, allocations: 0 / 1.23 GB, free: 6.008 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.002198/1.16, allocations: 1.227 MB / 1.231 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.16, allocations: 8.031 kB / 1.231 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.162, allocations: 226.4 kB / 1.231 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.163, allocations: 0.8492 MB / 1.232 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/1.163, allocations: 184.8 kB / 1.232 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.164, allocations: 99.94 kB / 1.232 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.165, allocations: 0.9285 MB / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.165, allocations: 0 / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/1.165, allocations: 40 kB / 1.233 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/1.165, allocations: 20 kB / 1.233 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/1.167, allocations: 0.6284 MB / 1.234 GB, free: 1.648 MB / 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.00547/1.172, allocations: 4.451 MB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/1.173, allocations: 186.6 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/1.173, allocations: 136.9 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.174, allocations: 1.028 MB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.174, allocations: 42.56 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/1.174, allocations: 0 / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001129/1.175, allocations: 470.3 kB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.175, allocations: 55.41 kB / 1.24 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.177, allocations: 1.11 MB / 1.241 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/1.177, allocations: 29.7 kB / 1.241 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.177, allocations: 0.5157 MB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/1.177, allocations: 86.75 kB / 1.242 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/1.178, allocations: 37.7 kB / 1.242 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.178, allocations: 318 kB / 1.242 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/1.178, allocations: 128.8 kB / 1.242 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/1.178, allocations: 387.1 kB / 1.242 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/1.179, allocations: 471.5 kB / 1.243 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.179, allocations: 4 kB / 1.243 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001189/1.18, allocations: 0.5387 MB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.18, allocations: 11.94 kB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.18, allocations: 8 kB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.18, allocations: 8 kB / 1.243 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/1.181, allocations: 88.5 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.181, allocations: 15.97 kB / 1.243 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.182, allocations: 127.2 kB / 1.244 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/1.182, allocations: 28 kB / 1.244 GB, free: 6.527 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.0006069/1.183, allocations: 285.6 kB / 1.244 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.183, allocations: 106.6 kB / 1.244 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/1.184, allocations: 447.3 kB / 1.244 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.184, allocations: 4 kB / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.184, allocations: 0 / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.184, allocations: 0 / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/1.186, allocations: 1.542 MB / 1.246 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.186, allocations: 4 kB / 1.246 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.187, allocations: 51.84 kB / 1.246 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/1.187, allocations: 8 kB / 1.246 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.187, allocations: 4.562 kB / 1.246 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/1.187, allocations: 15.94 kB / 1.246 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.187, allocations: 4 kB / 1.246 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/1.187, allocations: 0.5698 MB / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/1.188, allocations: 251.6 kB / 1.247 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.188, allocations: 8 kB / 1.247 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/1.189, allocations: 35.88 kB / 1.247 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.189, allocations: 27.86 kB / 1.247 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/1.189, allocations: 12 kB / 1.247 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001209/1.19, allocations: 0.79 MB / 1.248 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.248 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00104/1.191, allocations: 279.5 kB / 1.248 GB, free: 1.891 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.0007788/1.192, allocations: 330.4 kB / 1.248 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000702/1.193, allocations: 339.4 kB / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.193, allocations: 0 / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.193, allocations: 146.3 kB / 1.249 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/1.196, allocations: 0.5116 MB / 1.249 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.465/1.661, allocations: 1.969 MB / 1.251 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/1.662, allocations: 1.062 MB / 1.252 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.662, allocations: 82.23 kB / 1.252 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.662, allocations: 0 / 1.252 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03183/1.694, allocations: 16.93 MB / 1.269 GB, free: 278.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