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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001002/0.001002, allocations: 92.16 kB / 16.02 MB, free: 80 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.001519/0.001519, allocations: 173 kB / 16.92 MB, free: 6.652 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.688, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9658/1.654, allocations: 243.4 MB / 1.261 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02605/1.68, allocations: 22 MB / 1.283 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/1.683, allocations: 46.34 kB / 1.283 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002867/1.685, allocations: 0.7876 MB / 1.284 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004885/1.69, allocations: 1.395 MB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00535/1.696, allocations: 1.773 MB / 1.287 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004916/1.701, allocations: 3.518 MB / 1.29 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/1.703, allocations: 1.1 MB / 1.291 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/1.705, allocations: 1.132 MB / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.707, allocations: 0.8506 MB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/1.707, allocations: 35.41 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/1.71, allocations: 1.869 MB / 1.295 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/1.711, allocations: 290 kB / 1.295 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007293/1.711, allocations: 0.558 MB / 1.296 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/1.714, allocations: 1.69 MB / 1.298 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.714, allocations: 0 / 1.298 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.264e-06/1.714, allocations: 2.906 kB / 1.298 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.714, allocations: 0 / 1.298 GB, free: 1.207 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.001759/1.715, allocations: 1.229 MB / 1.299 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.715, allocations: 8.781 kB / 1.299 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.716, allocations: 228.2 kB / 1.299 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.718, allocations: 0.8532 MB / 1.3 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.718, allocations: 185.5 kB / 1.3 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.718, allocations: 90.72 kB / 1.3 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.719, allocations: 0.9303 MB / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.719, allocations: 2.906 kB / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/1.719, allocations: 40.09 kB / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/1.719, allocations: 20.94 kB / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.721, allocations: 0.6326 MB / 1.302 GB, free: 15.76 MB / 0.9981 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.0042/1.725, allocations: 4.443 MB / 1.306 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/1.725, allocations: 196.1 kB / 1.306 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.725, allocations: 142.8 kB / 1.306 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.726, allocations: 1.019 MB / 1.307 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.726, allocations: 42.23 kB / 1.307 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.804e-06/1.726, allocations: 0 / 1.307 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0009965/1.727, allocations: 462.4 kB / 1.308 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.727, allocations: 58.38 kB / 1.308 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.729, allocations: 1.116 MB / 1.309 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/1.729, allocations: 32.52 kB / 1.309 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/1.729, allocations: 0.5087 MB / 1.309 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/1.729, allocations: 90.48 kB / 1.31 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/1.729, allocations: 35.97 kB / 1.31 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.729, allocations: 326.8 kB / 1.31 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/1.73, allocations: 126.9 kB / 1.31 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/1.73, allocations: 386 kB / 1.31 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/1.731, allocations: 462.5 kB / 1.311 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.731, allocations: 3.281 kB / 1.311 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007837/1.731, allocations: 0.5429 MB / 1.311 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.731, allocations: 6.281 kB / 1.311 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.731, allocations: 8.844 kB / 1.311 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.731, allocations: 8.688 kB / 1.311 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/1.732, allocations: 90.84 kB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/1.732, allocations: 15.28 kB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008061/1.733, allocations: 131.8 kB / 1.312 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/1.733, allocations: 29.72 kB / 1.312 GB, free: 10.2 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.0003676/1.733, allocations: 283.2 kB / 1.312 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.733, allocations: 104.7 kB / 1.312 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/1.734, allocations: 425.4 kB / 1.312 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.734, allocations: 3.281 kB / 1.312 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.734, allocations: 5.688 kB / 1.312 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.734, allocations: 0 / 1.312 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/1.736, allocations: 1.545 MB / 1.314 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.736, allocations: 6.688 kB / 1.314 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/1.736, allocations: 39.83 kB / 1.314 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.736, allocations: 7.594 kB / 1.314 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.736, allocations: 12.38 kB / 1.314 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.736, allocations: 16.11 kB / 1.314 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.736, allocations: 7.5 kB / 1.314 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/1.737, allocations: 0.5674 MB / 1.315 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/1.737, allocations: 245.6 kB / 1.315 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.737, allocations: 17.17 kB / 1.315 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/1.738, allocations: 32.55 kB / 1.315 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.738, allocations: 31.45 kB / 1.315 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.738, allocations: 14.78 kB / 1.315 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001024/1.739, allocations: 0.7812 MB / 1.316 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.739, allocations: 2.844 kB / 1.316 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009137/1.74, allocations: 278.5 kB / 1.316 GB, free: 8.824 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.0006701/1.74, allocations: 353.6 kB / 1.316 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005472/1.741, allocations: 329.3 kB / 1.317 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.741, allocations: 0 / 1.317 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/1.741, allocations: 144.3 kB / 1.317 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.744, allocations: 0.5164 MB / 1.317 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/1.746, allocations: 1.968 MB / 1.319 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/1.747, allocations: 1.067 MB / 1.32 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.747, allocations: 79.17 kB / 1.32 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.747, allocations: 0 / 1.32 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.02721/1.775, allocations: 16.93 MB / 1.337 GB, free: 2.223 MB / 0.9981 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/jenkins1/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