Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001596/0.001596, allocations: 108 kB / 15.6 MB, free: 128 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.002331/0.002331, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7852, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.019/1.804, allocations: 248.9 MB / 1.26 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02747/1.831, allocations: 22.27 MB / 1.282 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/1.834, allocations: 55.42 kB / 1.282 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003106/1.837, allocations: 0.9768 MB / 1.283 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/1.842, allocations: 1.466 MB / 1.285 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005789/1.848, allocations: 1.923 MB / 1.286 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004207/1.852, allocations: 2.692 MB / 1.289 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/1.854, allocations: 1.32 MB / 1.29 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/1.858, allocations: 1.332 MB / 1.292 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/1.86, allocations: 0.9142 MB / 1.293 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/1.86, allocations: 108.8 kB / 1.293 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/1.864, allocations: 1.673 MB / 1.294 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004559/1.865, allocations: 377.1 kB / 1.295 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.866, allocations: 0.6348 MB / 1.295 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004453/1.87, allocations: 2.232 MB / 1.297 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.87, allocations: 3.25 kB / 1.297 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.87, allocations: 0.9375 kB / 1.297 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.844e-05/1.87, allocations: 1.312 kB / 1.297 GB, free: 1.449 MB / 0.9981 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.002565/1.873, allocations: 1.467 MB / 1.299 GB, free: 16.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.873, allocations: 11.22 kB / 1.299 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/1.874, allocations: 234.9 kB / 1.299 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.876, allocations: 0.8499 MB / 1.3 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/1.876, allocations: 188.1 kB / 1.3 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.876, allocations: 91.44 kB / 1.3 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/1.878, allocations: 0.9348 MB / 1.301 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.878, allocations: 0 / 1.301 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/1.878, allocations: 38.59 kB / 1.301 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/1.878, allocations: 24.66 kB / 1.301 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/1.879, allocations: 0.6296 MB / 1.302 GB, free: 15.98 MB / 1.014 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.004629/1.884, allocations: 4.465 MB / 1.306 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/1.884, allocations: 186.3 kB / 1.306 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/1.884, allocations: 145.7 kB / 1.306 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.885, allocations: 1.016 MB / 1.307 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/1.885, allocations: 42.58 kB / 1.308 GB, free: 12.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/1.885, allocations: 0 / 1.308 GB, free: 12.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001033/1.887, allocations: 466.4 kB / 1.308 GB, free: 11.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.887, allocations: 57.09 kB / 1.308 GB, free: 11.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.888, allocations: 1.111 MB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/1.888, allocations: 32.14 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/1.888, allocations: 0.5078 MB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/1.889, allocations: 86.78 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/1.889, allocations: 97.81 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.889, allocations: 323.9 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/1.889, allocations: 130.1 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/1.89, allocations: 391.1 kB / 1.311 GB, free: 10.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/1.89, allocations: 467.4 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.89, allocations: 3.594 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000832/1.891, allocations: 0.5317 MB / 1.312 GB, free: 10.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.891, allocations: 8.688 kB / 1.312 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.891, allocations: 11.55 kB / 1.312 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.891, allocations: 10.5 kB / 1.312 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/1.892, allocations: 85 kB / 1.312 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/1.892, allocations: 20.97 kB / 1.312 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/1.892, allocations: 91.33 kB / 1.312 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/1.892, allocations: 26.48 kB / 1.312 GB, free: 10.48 MB / 1.014 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.0003782/1.893, allocations: 289 kB / 1.312 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.893, allocations: 103.4 kB / 1.312 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/1.894, allocations: 424.8 kB / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.894, allocations: 7.391 kB / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.894, allocations: 3.938 kB / 1.313 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.894, allocations: 4.688 kB / 1.313 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/1.896, allocations: 1.548 MB / 1.314 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.896, allocations: 8.922 kB / 1.314 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/1.896, allocations: 44.53 kB / 1.314 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.896, allocations: 8.844 kB / 1.314 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.896, allocations: 13.03 kB / 1.314 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.896, allocations: 15.14 kB / 1.314 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.896, allocations: 10.28 kB / 1.314 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/1.896, allocations: 0.5683 MB / 1.315 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/1.897, allocations: 237 kB / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.897, allocations: 13.09 kB / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/1.897, allocations: 19.62 kB / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.897, allocations: 31.45 kB / 1.315 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.897, allocations: 14.84 kB / 1.315 GB, free: 9.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009631/1.898, allocations: 0.7811 MB / 1.316 GB, free: 9.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.898, allocations: 0.9375 kB / 1.316 GB, free: 9.168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001023/1.899, allocations: 279.3 kB / 1.316 GB, free: 9.137 MB / 1.014 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.0007761/1.9, allocations: 331.4 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006164/1.901, allocations: 350.5 kB / 1.317 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.901, allocations: 0 / 1.317 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/1.901, allocations: 146.7 kB / 1.317 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.903, allocations: 0.517 MB / 1.317 GB, free: 8.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.906, allocations: 1.593 MB / 1.319 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/1.906, allocations: 1.064 MB / 1.32 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00078/1.907, allocations: 198.4 kB / 1.32 GB, free: 7.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.907, allocations: 66.36 kB / 1.32 GB, free: 7.379 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.907, allocations: 2.781 kB / 1.32 GB, free: 7.379 MB / 1.014 GB Notification: Performance of Templates: time 0.0334/1.941, allocations: 18.46 MB / 1.338 GB, free: 5.426 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches