Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001815/0.001815, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.002227/0.002228, allocations: 187 kB / 17.34 MB, free: 5.73 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.605/1.605, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9515, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2747/1.226, allocations: 249 MB / 1.452 GB, free: 3.77 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03094/1.257, allocations: 22.28 MB / 1.473 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/1.26, allocations: 51.69 kB / 1.473 GB, free: 13.37 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003342/1.263, allocations: 0.9781 MB / 1.474 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/1.268, allocations: 1.468 MB / 1.476 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006049/1.274, allocations: 1.938 MB / 1.478 GB, free: 8.977 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005153/1.279, allocations: 2.686 MB / 1.48 GB, free: 6.285 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/1.282, allocations: 1.313 MB / 1.482 GB, free: 4.934 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.285, allocations: 1.362 MB / 1.483 GB, free: 3.566 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/1.287, allocations: 0.9105 MB / 1.484 GB, free: 2.652 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/1.287, allocations: 108 kB / 1.484 GB, free: 2.547 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/1.292, allocations: 1.676 MB / 1.486 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006269/1.292, allocations: 374.9 kB / 1.486 GB, free: 0.5 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/1.294, allocations: 0.6377 MB / 1.486 GB, free: 15.86 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/1.298, allocations: 2.278 MB / 1.489 GB, free: 13.57 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.298, allocations: 0 / 1.489 GB, free: 13.57 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/1.298, allocations: 0 / 1.489 GB, free: 13.57 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.276e-05/1.298, allocations: 0 / 1.489 GB, free: 13.57 MB / 1.217 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.003263/1.302, allocations: 1.472 MB / 1.49 GB, free: 12.05 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.302, allocations: 12.03 kB / 1.49 GB, free: 12.04 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/1.303, allocations: 230.4 kB / 1.49 GB, free: 11.81 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.305, allocations: 0.9193 MB / 1.491 GB, free: 10.85 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/1.305, allocations: 192.8 kB / 1.491 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.305, allocations: 91.94 kB / 1.492 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.307, allocations: 0.9323 MB / 1.492 GB, free: 9.578 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.307, allocations: 0 / 1.492 GB, free: 9.578 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/1.307, allocations: 36 kB / 1.493 GB, free: 9.543 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/1.307, allocations: 20 kB / 1.493 GB, free: 9.523 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.309, allocations: 0.6324 MB / 1.493 GB, free: 8.891 MB / 1.217 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.005502/1.314, allocations: 4.427 MB / 1.497 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/1.315, allocations: 186.7 kB / 1.498 GB, free: 3.879 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/1.315, allocations: 144.7 kB / 1.498 GB, free: 3.734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.316, allocations: 1.025 MB / 1.499 GB, free: 2.488 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.316, allocations: 34.56 kB / 1.499 GB, free: 2.445 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.205e-06/1.316, allocations: 0 / 1.499 GB, free: 2.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001201/1.317, allocations: 474.1 kB / 1.499 GB, free: 1.977 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.317, allocations: 59.34 kB / 1.499 GB, free: 1.906 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.319, allocations: 1.106 MB / 1.5 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/1.319, allocations: 29.7 kB / 1.5 GB, free: 0.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/1.319, allocations: 0.5079 MB / 1.501 GB, free: 244 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/1.319, allocations: 90.73 kB / 1.501 GB, free: 152 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/1.32, allocations: 98.03 kB / 1.501 GB, free: 44 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.32, allocations: 322 kB / 1.501 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.32, allocations: 128.8 kB / 1.502 GB, free: 15.6 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/1.32, allocations: 391.1 kB / 1.502 GB, free: 15.11 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/1.321, allocations: 471.5 kB / 1.502 GB, free: 14.56 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.321, allocations: 0 / 1.502 GB, free: 14.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00099/1.322, allocations: 0.5391 MB / 1.503 GB, free: 14.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.322, allocations: 11.94 kB / 1.503 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.322, allocations: 4 kB / 1.503 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.322, allocations: 8 kB / 1.503 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/1.323, allocations: 91.83 kB / 1.503 GB, free: 13.9 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/1.323, allocations: 11.94 kB / 1.503 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/1.323, allocations: 95.25 kB / 1.503 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/1.323, allocations: 28 kB / 1.503 GB, free: 13.77 MB / 1.232 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.0003942/1.324, allocations: 285.6 kB / 1.503 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.324, allocations: 110.6 kB / 1.504 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/1.325, allocations: 423.8 kB / 1.504 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.325, allocations: 0 / 1.504 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.325, allocations: 4 kB / 1.504 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.325, allocations: 4 kB / 1.504 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/1.327, allocations: 1.554 MB / 1.505 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.327, allocations: 7.984 kB / 1.505 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.327, allocations: 47.86 kB / 1.505 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.327, allocations: 4 kB / 1.505 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/1.327, allocations: 8 kB / 1.505 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.327, allocations: 7.938 kB / 1.506 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.327, allocations: 11.94 kB / 1.506 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/1.328, allocations: 0.5741 MB / 1.506 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/1.329, allocations: 231.8 kB / 1.506 GB, free: 10.3 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.329, allocations: 16 kB / 1.506 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/1.329, allocations: 11.98 kB / 1.506 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.329, allocations: 32.12 kB / 1.506 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/1.329, allocations: 16 kB / 1.506 GB, free: 10.23 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001089/1.331, allocations: 0.7822 MB / 1.507 GB, free: 9.438 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.01e-07/1.331, allocations: 4 kB / 1.507 GB, free: 9.434 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001/1.332, allocations: 279.5 kB / 1.507 GB, free: 9.16 MB / 1.232 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.0008517/1.332, allocations: 342.3 kB / 1.508 GB, free: 8.824 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006814/1.333, allocations: 343.4 kB / 1.508 GB, free: 8.488 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.333, allocations: 5.312 kB / 1.508 GB, free: 8.484 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/1.333, allocations: 144.6 kB / 1.508 GB, free: 8.344 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.336, allocations: 0.5081 MB / 1.509 GB, free: 7.844 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.338, allocations: 1.615 MB / 1.51 GB, free: 6.133 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/1.339, allocations: 1.059 MB / 1.511 GB, free: 5.047 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.34, allocations: 75.42 kB / 1.511 GB, free: 4.973 MB / 1.232 GB Notification: Performance of SimCode: time 7.41e-07/1.34, allocations: 7.938 kB / 1.511 GB, free: 4.965 MB / 1.232 GB Notification: Performance of Templates: time 0.02812/1.368, allocations: 17.22 MB / 1.528 GB, free: 3.867 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches