Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001486/0.001486, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001508/0.001508, allocations: 196.9 kB / 16.91 MB, free: 6.199 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.578/2.578, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 69.36 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3403, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8258/1.166, allocations: 246 MB / 1.304 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02714/1.193, allocations: 22.08 MB / 1.326 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/1.195, allocations: 47.69 kB / 1.326 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/1.199, allocations: 0.8471 MB / 1.327 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/1.203, allocations: 1.378 MB / 1.328 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005254/1.209, allocations: 1.794 MB / 1.33 GB, free: 8.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004504/1.213, allocations: 2.699 MB / 1.333 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/1.215, allocations: 1.299 MB / 1.334 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/1.218, allocations: 1.343 MB / 1.335 GB, free: 3.316 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/1.22, allocations: 0.9533 MB / 1.336 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/1.22, allocations: 108 kB / 1.336 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/1.224, allocations: 1.726 MB / 1.338 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/1.224, allocations: 382.9 kB / 1.338 GB, free: 152 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008712/1.225, allocations: 0.6376 MB / 1.339 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/1.228, allocations: 1.738 MB / 1.341 GB, free: 13.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.228, allocations: 0 / 1.341 GB, free: 13.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/1.228, allocations: 0 / 1.341 GB, free: 13.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.774e-05/1.228, allocations: 0 / 1.341 GB, free: 13.77 MB / 1.061 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.002345/1.23, allocations: 1.469 MB / 1.342 GB, free: 12.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.23, allocations: 12.03 kB / 1.342 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.231, allocations: 222.4 kB / 1.342 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.233, allocations: 0.8453 MB / 1.343 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/1.233, allocations: 192.8 kB / 1.343 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.233, allocations: 88 kB / 1.343 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.234, allocations: 0.9323 MB / 1.344 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.235, allocations: 0 / 1.344 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/1.235, allocations: 40 kB / 1.344 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/1.235, allocations: 23.98 kB / 1.344 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.236, allocations: 0.6323 MB / 1.345 GB, free: 9.16 MB / 1.061 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.005232/1.241, allocations: 4.447 MB / 1.349 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/1.241, allocations: 186.5 kB / 1.349 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.242, allocations: 140.9 kB / 1.35 GB, free: 3.988 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.243, allocations: 1.021 MB / 1.351 GB, free: 2.746 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.243, allocations: 38.56 kB / 1.351 GB, free: 2.699 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/1.243, allocations: 0 / 1.351 GB, free: 2.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001151/1.244, allocations: 474.2 kB / 1.351 GB, free: 2.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.244, allocations: 55.41 kB / 1.351 GB, free: 2.164 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.246, allocations: 1.11 MB / 1.352 GB, free: 1.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/1.246, allocations: 33.7 kB / 1.352 GB, free: 1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/1.246, allocations: 0.5118 MB / 1.353 GB, free: 496 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/1.246, allocations: 86.83 kB / 1.353 GB, free: 408 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/1.246, allocations: 97.94 kB / 1.353 GB, free: 304 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002223/1.247, allocations: 322 kB / 1.353 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.247, allocations: 128.8 kB / 1.353 GB, free: 15.85 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/1.248, allocations: 387.1 kB / 1.354 GB, free: 15.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/1.248, allocations: 471.5 kB / 1.354 GB, free: 14.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.248, allocations: 4 kB / 1.354 GB, free: 14.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009324/1.249, allocations: 0.5387 MB / 1.355 GB, free: 14.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.249, allocations: 8 kB / 1.355 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.249, allocations: 7.938 kB / 1.355 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.249, allocations: 12 kB / 1.355 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.25, allocations: 88.53 kB / 1.355 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.25, allocations: 13.16 kB / 1.355 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/1.25, allocations: 130.9 kB / 1.355 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/1.25, allocations: 28 kB / 1.355 GB, free: 13.98 MB / 1.076 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.0004637/1.251, allocations: 283.3 kB / 1.355 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.251, allocations: 106.7 kB / 1.355 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/1.252, allocations: 434.2 kB / 1.356 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.252, allocations: 0 / 1.356 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.252, allocations: 4 kB / 1.356 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.252, allocations: 0 / 1.356 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/1.254, allocations: 1.546 MB / 1.357 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.254, allocations: 4 kB / 1.357 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.254, allocations: 43.91 kB / 1.357 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.254, allocations: 8.5 kB / 1.357 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.254, allocations: 12 kB / 1.357 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.254, allocations: 11.94 kB / 1.357 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.255, allocations: 8 kB / 1.357 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/1.255, allocations: 0.5714 MB / 1.358 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/1.256, allocations: 243.6 kB / 1.358 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.256, allocations: 8 kB / 1.358 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/1.256, allocations: 35.88 kB / 1.358 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/1.256, allocations: 27.86 kB / 1.358 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.256, allocations: 15.98 kB / 1.358 GB, free: 10.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00109/1.257, allocations: 0.7822 MB / 1.359 GB, free: 9.641 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.257, allocations: 0 / 1.359 GB, free: 9.641 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009168/1.258, allocations: 279.5 kB / 1.359 GB, free: 9.367 MB / 1.076 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.0007094/1.259, allocations: 345.1 kB / 1.36 GB, free: 9.027 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006443/1.26, allocations: 343.5 kB / 1.36 GB, free: 8.691 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.26, allocations: 5.375 kB / 1.36 GB, free: 8.688 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/1.26, allocations: 140.6 kB / 1.36 GB, free: 8.551 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.262, allocations: 0.5223 MB / 1.36 GB, free: 8.051 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.265, allocations: 1.951 MB / 1.362 GB, free: 6.004 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/1.266, allocations: 1.063 MB / 1.363 GB, free: 4.914 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/1.266, allocations: 75.44 kB / 1.363 GB, free: 4.84 MB / 1.076 GB Notification: Performance of SimCode: time 1.91e-07/1.266, allocations: 0 / 1.363 GB, free: 4.84 MB / 1.076 GB Notification: Performance of Templates: time 0.02771/1.294, allocations: 17.09 MB / 1.38 GB, free: 3.891 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches