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.00118/0.00118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001502/0.001502, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.463/2.463, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8051, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3029/1.108, allocations: 246 MB / 1.189 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02925/1.137, allocations: 22.1 MB / 1.211 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/1.14, allocations: 51.62 kB / 1.211 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/1.143, allocations: 0.8432 MB / 1.212 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/1.149, allocations: 1.377 MB / 1.213 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006748/1.155, allocations: 1.78 MB / 1.215 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005533/1.161, allocations: 2.703 MB / 1.217 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/1.164, allocations: 1.305 MB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/1.168, allocations: 1.339 MB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.17, allocations: 0.9494 MB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/1.17, allocations: 108 kB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/1.175, allocations: 1.726 MB / 1.223 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007857/1.176, allocations: 382.9 kB / 1.223 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001687/1.177, allocations: 0.6415 MB / 1.224 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004894/1.182, allocations: 2.337 MB / 1.226 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.182, allocations: 4 kB / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/1.182, allocations: 0 / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.327e-05/1.182, allocations: 0 / 1.226 GB, free: 5.461 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.003269/1.186, allocations: 1.464 MB / 1.227 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.186, allocations: 11.97 kB / 1.228 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/1.187, allocations: 226.3 kB / 1.228 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.189, allocations: 0.8531 MB / 1.229 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.189, allocations: 192.8 kB / 1.229 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/1.189, allocations: 95.94 kB / 1.229 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/1.191, allocations: 0.9246 MB / 1.23 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.191, allocations: 3.938 kB / 1.23 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/1.191, allocations: 40 kB / 1.23 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.191, allocations: 20 kB / 1.23 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/1.192, allocations: 0.6324 MB / 1.23 GB, free: 0.8477 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.004913/1.197, allocations: 4.439 MB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/1.197, allocations: 182.7 kB / 1.235 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.198, allocations: 148.8 kB / 1.235 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.199, allocations: 1.017 MB / 1.236 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.199, allocations: 34.59 kB / 1.236 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.334e-06/1.199, allocations: 4 kB / 1.236 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001103/1.2, allocations: 473.4 kB / 1.237 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.2, allocations: 55.41 kB / 1.237 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/1.201, allocations: 1.106 MB / 1.238 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/1.201, allocations: 33.69 kB / 1.238 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/1.202, allocations: 0.5156 MB / 1.238 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/1.202, allocations: 82.84 kB / 1.238 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.202, allocations: 101.9 kB / 1.238 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.202, allocations: 322 kB / 1.239 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/1.202, allocations: 128.8 kB / 1.239 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/1.203, allocations: 387.1 kB / 1.239 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/1.203, allocations: 463.6 kB / 1.24 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.203, allocations: 4 kB / 1.24 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008892/1.204, allocations: 0.5429 MB / 1.24 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.204, allocations: 14.12 kB / 1.24 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.204, allocations: 4 kB / 1.24 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.204, allocations: 8 kB / 1.24 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/1.205, allocations: 96.48 kB / 1.24 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.205, allocations: 8 kB / 1.24 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/1.206, allocations: 127 kB / 1.24 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/1.206, allocations: 23.98 kB / 1.24 GB, free: 5.691 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.0003725/1.206, allocations: 285.6 kB / 1.241 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.206, allocations: 106.6 kB / 1.241 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/1.207, allocations: 434.5 kB / 1.241 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.207, allocations: 0 / 1.241 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.207, allocations: 0 / 1.241 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.207, allocations: 7.984 kB / 1.241 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/1.209, allocations: 1.554 MB / 1.243 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.209, allocations: 4 kB / 1.243 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/1.209, allocations: 47.86 kB / 1.243 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.209, allocations: 4 kB / 1.243 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.209, allocations: 8.625 kB / 1.243 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.209, allocations: 19.92 kB / 1.243 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.209, allocations: 8 kB / 1.243 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/1.21, allocations: 0.5698 MB / 1.243 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/1.21, allocations: 235.7 kB / 1.244 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.21, allocations: 15.98 kB / 1.244 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/1.211, allocations: 31.92 kB / 1.244 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/1.211, allocations: 35.78 kB / 1.244 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.211, allocations: 12 kB / 1.244 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009818/1.212, allocations: 0.7822 MB / 1.244 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.212, allocations: 4 kB / 1.244 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009146/1.213, allocations: 283.5 kB / 1.245 GB, free: 1.047 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.0006726/1.214, allocations: 334.2 kB / 1.245 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006629/1.214, allocations: 339.5 kB / 1.245 GB, free: 400 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.214, allocations: 0 / 1.245 GB, free: 400 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/1.214, allocations: 150.1 kB / 1.246 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4802/1.695, allocations: 0.4955 MB / 1.246 GB, free: 288.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/1.697, allocations: 1.906 MB / 1.248 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.698, allocations: 1.063 MB / 1.249 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001018/1.699, allocations: 194.5 kB / 1.249 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.699, allocations: 70 kB / 1.249 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.699, allocations: 2.25 kB / 1.249 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03938/1.739, allocations: 18.38 MB / 1.267 GB, free: 279.5 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