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.007286/0.007286, allocations: 101.8 kB / 15.73 MB, free: 6 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.001297/0.001297, allocations: 194 kB / 16.67 MB, free: 5.926 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 64.12 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9886/0.99, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2731/1.263, allocations: 249 MB / 1.451 GB, free: 3.734 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02676/1.29, allocations: 22.28 MB / 1.473 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/1.292, allocations: 55.62 kB / 1.473 GB, free: 13.33 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/1.295, allocations: 0.9742 MB / 1.474 GB, free: 12.35 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/1.299, allocations: 1.469 MB / 1.475 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/1.305, allocations: 1.938 MB / 1.477 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004321/1.309, allocations: 2.686 MB / 1.48 GB, free: 6.246 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/1.311, allocations: 1.317 MB / 1.481 GB, free: 4.891 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/1.314, allocations: 1.362 MB / 1.482 GB, free: 3.523 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/1.315, allocations: 0.9066 MB / 1.483 GB, free: 2.613 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/1.315, allocations: 108 kB / 1.483 GB, free: 2.508 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/1.318, allocations: 1.68 MB / 1.485 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/1.319, allocations: 382.9 kB / 1.485 GB, free: 460 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007026/1.319, allocations: 0.6299 MB / 1.486 GB, free: 15.81 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003246/1.323, allocations: 2.278 MB / 1.488 GB, free: 13.53 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.323, allocations: 0 / 1.488 GB, free: 13.53 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.172e-06/1.323, allocations: 0 / 1.488 GB, free: 13.53 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.048e-05/1.323, allocations: 0 / 1.488 GB, free: 13.53 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.001942/1.325, allocations: 1.472 MB / 1.489 GB, free: 12 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/1.325, allocations: 8.031 kB / 1.489 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.326, allocations: 230.4 kB / 1.49 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.327, allocations: 0.9193 MB / 1.491 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.327, allocations: 188.8 kB / 1.491 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.328, allocations: 91.94 kB / 1.491 GB, free: 10.51 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.329, allocations: 0.9285 MB / 1.492 GB, free: 9.547 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.329, allocations: 4 kB / 1.492 GB, free: 9.543 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/1.329, allocations: 39.94 kB / 1.492 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.329, allocations: 20 kB / 1.492 GB, free: 9.484 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.33, allocations: 0.6324 MB / 1.492 GB, free: 8.852 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.004398/1.335, allocations: 4.416 MB / 1.497 GB, free: 4.043 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/1.335, allocations: 194.7 kB / 1.497 GB, free: 3.844 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.335, allocations: 144.6 kB / 1.497 GB, free: 3.699 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009652/1.336, allocations: 1.032 MB / 1.498 GB, free: 2.445 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.336, allocations: 42.59 kB / 1.498 GB, free: 2.395 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.336, allocations: 0 / 1.498 GB, free: 2.395 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001003/1.337, allocations: 462.3 kB / 1.499 GB, free: 1.938 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.337, allocations: 63.39 kB / 1.499 GB, free: 1.863 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.339, allocations: 1.102 MB / 1.5 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/1.339, allocations: 33.7 kB / 1.5 GB, free: 0.707 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/1.339, allocations: 0.504 MB / 1.5 GB, free: 204 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/1.339, allocations: 90.73 kB / 1.5 GB, free: 112 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.339, allocations: 98.03 kB / 1.5 GB, free: 4 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.34, allocations: 326 kB / 1.501 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/1.34, allocations: 124.8 kB / 1.501 GB, free: 15.56 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/1.34, allocations: 387.1 kB / 1.501 GB, free: 15.07 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/1.341, allocations: 467.6 kB / 1.502 GB, free: 14.53 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.341, allocations: 0 / 1.502 GB, free: 14.53 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008811/1.342, allocations: 0.5432 MB / 1.502 GB, free: 13.98 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.342, allocations: 9.969 kB / 1.502 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.342, allocations: 12.34 kB / 1.502 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.342, allocations: 8 kB / 1.502 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/1.342, allocations: 91.83 kB / 1.502 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.342, allocations: 11.98 kB / 1.502 GB, free: 13.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/1.343, allocations: 94.95 kB / 1.502 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/1.343, allocations: 23.98 kB / 1.502 GB, free: 13.73 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.000352/1.343, allocations: 285.6 kB / 1.503 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.343, allocations: 110.7 kB / 1.503 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/1.344, allocations: 428.9 kB / 1.503 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.344, allocations: 0 / 1.503 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.344, allocations: 0 / 1.503 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.344, allocations: 3.984 kB / 1.503 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/1.346, allocations: 1.55 MB / 1.505 GB, free: 11.24 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.346, allocations: 4 kB / 1.505 GB, free: 11.24 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.347, allocations: 47.86 kB / 1.505 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.347, allocations: 4.562 kB / 1.505 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/1.347, allocations: 19.98 kB / 1.505 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.347, allocations: 7.938 kB / 1.505 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.347, allocations: 8 kB / 1.505 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/1.347, allocations: 0.5731 MB / 1.505 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.348, allocations: 235.7 kB / 1.506 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.348, allocations: 12 kB / 1.506 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/1.348, allocations: 15.98 kB / 1.506 GB, free: 10.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/1.348, allocations: 39.84 kB / 1.506 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/1.348, allocations: 16 kB / 1.506 GB, free: 10.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001027/1.349, allocations: 0.7744 MB / 1.506 GB, free: 9.398 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.91e-07/1.349, allocations: 0 / 1.506 GB, free: 9.398 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009003/1.35, allocations: 283.5 kB / 1.507 GB, free: 9.121 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.0007082/1.351, allocations: 349.4 kB / 1.507 GB, free: 8.777 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006358/1.352, allocations: 340.2 kB / 1.507 GB, free: 8.445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.352, allocations: 0 / 1.507 GB, free: 8.445 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/1.352, allocations: 141.2 kB / 1.507 GB, free: 8.309 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.354, allocations: 0.5157 MB / 1.508 GB, free: 7.801 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/1.357, allocations: 1.559 MB / 1.51 GB, free: 6.152 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/1.357, allocations: 1.067 MB / 1.511 GB, free: 5.059 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006303/1.358, allocations: 197.1 kB / 1.511 GB, free: 4.871 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.358, allocations: 71.42 kB / 1.511 GB, free: 4.801 MB / 1.232 GB Notification: Performance of SimCode: time 1.643e-06/1.358, allocations: 0 / 1.511 GB, free: 4.801 MB / 1.232 GB Notification: Performance of Templates: time 0.03199/1.39, allocations: 18.86 MB / 1.529 GB, free: 2.168 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/jenkins/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