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.001127/0.001127, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01018/0.01018, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.539/2.539, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8793, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3082/1.188, allocations: 243.4 MB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03107/1.219, allocations: 21.99 MB / 1.214 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/1.221, allocations: 51.56 kB / 1.214 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/1.225, allocations: 0.7885 MB / 1.215 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/1.23, allocations: 1.392 MB / 1.216 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/1.237, allocations: 1.766 MB / 1.218 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005834/1.243, allocations: 3.529 MB / 1.222 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/1.245, allocations: 1.093 MB / 1.223 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/1.249, allocations: 1.132 MB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/1.251, allocations: 0.8518 MB / 1.225 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/1.251, allocations: 36 kB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/1.256, allocations: 1.874 MB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/1.257, allocations: 279 kB / 1.227 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/1.258, allocations: 0.5612 MB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005298/1.264, allocations: 2.254 MB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.264, allocations: 4 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.468e-06/1.264, allocations: 0 / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.537e-05/1.264, allocations: 0 / 1.229 GB, free: 5.395 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.003734/1.267, allocations: 1.235 MB / 1.231 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/1.268, allocations: 8.031 kB / 1.231 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.269, allocations: 222.4 kB / 1.231 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.271, allocations: 0.8492 MB / 1.232 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/1.271, allocations: 184.8 kB / 1.232 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/1.271, allocations: 99.94 kB / 1.232 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/1.274, allocations: 0.9284 MB / 1.233 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.274, allocations: 8 kB / 1.233 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/1.274, allocations: 36 kB / 1.233 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/1.274, allocations: 20 kB / 1.233 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.275, allocations: 0.6323 MB / 1.234 GB, free: 1.023 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.006323/1.282, allocations: 4.451 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/1.282, allocations: 186.7 kB / 1.238 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/1.282, allocations: 150.2 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.283, allocations: 1.021 MB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.283, allocations: 34.56 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.385e-06/1.283, allocations: 4 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001199/1.285, allocations: 465.9 kB / 1.24 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.285, allocations: 51.41 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.286, allocations: 1.114 MB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/1.287, allocations: 37.7 kB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/1.287, allocations: 0.5079 MB / 1.241 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/1.287, allocations: 94.67 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/1.287, allocations: 37.7 kB / 1.241 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.287, allocations: 318 kB / 1.242 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.288, allocations: 128.8 kB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/1.288, allocations: 387.1 kB / 1.242 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/1.289, allocations: 463.6 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.289, allocations: 4 kB / 1.243 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001036/1.29, allocations: 0.5388 MB / 1.243 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.29, allocations: 11.94 kB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.29, allocations: 4 kB / 1.243 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.29, allocations: 8.688 kB / 1.243 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/1.29, allocations: 95.77 kB / 1.243 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/1.29, allocations: 19.94 kB / 1.243 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/1.291, allocations: 122.4 kB / 1.243 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/1.291, allocations: 24 kB / 1.244 GB, free: 5.91 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.000441/1.292, allocations: 285.6 kB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.292, allocations: 110.6 kB / 1.244 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/1.293, allocations: 436.6 kB / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.293, allocations: 0 / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.293, allocations: 0 / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.293, allocations: 0 / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.295, allocations: 1.55 MB / 1.246 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.295, allocations: 7.984 kB / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/1.295, allocations: 47.86 kB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.295, allocations: 4.562 kB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.295, allocations: 12 kB / 1.246 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.295, allocations: 4 kB / 1.246 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.295, allocations: 11.94 kB / 1.246 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/1.296, allocations: 0.5699 MB / 1.246 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/1.296, allocations: 251.6 kB / 1.247 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.296, allocations: 8 kB / 1.247 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/1.297, allocations: 31.88 kB / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.297, allocations: 27.86 kB / 1.247 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/1.297, allocations: 20 kB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001096/1.298, allocations: 0.7822 MB / 1.248 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.298, allocations: 0 / 1.248 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001013/1.299, allocations: 275.5 kB / 1.248 GB, free: 1.281 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.0007787/1.3, allocations: 343.2 kB / 1.248 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006537/1.3, allocations: 331.4 kB / 1.248 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.3, allocations: 5.375 kB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.301, allocations: 144.4 kB / 1.249 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6121/1.913, allocations: 0.5087 MB / 1.249 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/1.916, allocations: 1.921 MB / 1.251 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/1.917, allocations: 1.063 MB / 1.252 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001023/1.918, allocations: 197.7 kB / 1.252 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/1.918, allocations: 77.22 kB / 1.252 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.918, allocations: 0 / 1.252 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04276/1.961, allocations: 19.48 MB / 1.271 GB, free: 277.4 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