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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001273/0.001273, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001946/0.001947, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 15.69 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3742, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.208/1.583, allocations: 227.4 MB / 1.28 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02463/1.607, allocations: 20.7 MB / 1.3 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/1.61, allocations: 46.16 kB / 1.3 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/1.613, allocations: 0.6337 MB / 1.301 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/1.617, allocations: 1.168 MB / 1.302 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005701/1.623, allocations: 1.344 MB / 1.303 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004954/1.628, allocations: 2.976 MB / 1.306 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/1.63, allocations: 0.9114 MB / 1.307 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/1.633, allocations: 1.047 MB / 1.308 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/1.635, allocations: 0.8103 MB / 1.309 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/1.635, allocations: 34.59 kB / 1.309 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/1.638, allocations: 0.9089 MB / 1.31 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/1.638, allocations: 275.4 kB / 1.31 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009084/1.639, allocations: 265.4 kB / 1.31 GB, free: 21.65 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/1.642, allocations: 1.575 MB / 1.312 GB, free: 21.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.642, allocations: 0 / 1.312 GB, free: 21.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.314e-06/1.642, allocations: 0 / 1.312 GB, free: 21.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.598e-05/1.642, allocations: 1.281 kB / 1.312 GB, free: 21.54 MB / 1.014 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.001711/1.643, allocations: 1.235 MB / 1.313 GB, free: 20.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.643, allocations: 13.91 kB / 1.313 GB, free: 20.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/1.644, allocations: 223.8 kB / 1.313 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.646, allocations: 0.8198 MB / 1.314 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.646, allocations: 188 kB / 1.314 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.646, allocations: 97.3 kB / 1.314 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.648, allocations: 0.9196 MB / 1.315 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.648, allocations: 1.188 kB / 1.315 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/1.648, allocations: 36.69 kB / 1.315 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.648, allocations: 26.06 kB / 1.315 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/1.649, allocations: 0.6242 MB / 1.316 GB, free: 20.12 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.004543/1.653, allocations: 4.45 MB / 1.32 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/1.654, allocations: 182.3 kB / 1.321 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/1.654, allocations: 144.5 kB / 1.321 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009993/1.655, allocations: 1.026 MB / 1.322 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.655, allocations: 38.11 kB / 1.322 GB, free: 16.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/1.655, allocations: 5.219 kB / 1.322 GB, free: 16.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001032/1.656, allocations: 462.9 kB / 1.322 GB, free: 16.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.656, allocations: 55.92 kB / 1.322 GB, free: 15.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.657, allocations: 1.105 MB / 1.323 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/1.657, allocations: 31.02 kB / 1.323 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/1.658, allocations: 0.5049 MB / 1.324 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/1.658, allocations: 90.55 kB / 1.324 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/1.658, allocations: 7.688 kB / 1.324 GB, free: 15.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.658, allocations: 320 kB / 1.324 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.658, allocations: 128.3 kB / 1.324 GB, free: 15.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/1.659, allocations: 383.3 kB / 1.325 GB, free: 14.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.659, allocations: 181.2 kB / 1.325 GB, free: 14.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.659, allocations: 6.688 kB / 1.325 GB, free: 14.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008498/1.66, allocations: 0.5393 MB / 1.325 GB, free: 14.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.66, allocations: 8.438 kB / 1.325 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.66, allocations: 10.83 kB / 1.325 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.66, allocations: 9.625 kB / 1.325 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/1.66, allocations: 88.34 kB / 1.326 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.66, allocations: 17.53 kB / 1.326 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/1.661, allocations: 134.3 kB / 1.326 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/1.661, allocations: 27.34 kB / 1.326 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003835/1.661, allocations: 283.4 kB / 1.326 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.662, allocations: 103.5 kB / 1.326 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/1.662, allocations: 435 kB / 1.326 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.662, allocations: 7.047 kB / 1.327 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.662, allocations: 0 / 1.327 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.662, allocations: 0 / 1.327 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.664, allocations: 1.54 MB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.664, allocations: 3.531 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/1.664, allocations: 42.56 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.664, allocations: 6.094 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.664, allocations: 11.44 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.664, allocations: 10.02 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.665, allocations: 14.22 kB / 1.328 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/1.665, allocations: 0.5674 MB / 1.329 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/1.665, allocations: 248.3 kB / 1.329 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.665, allocations: 13.06 kB / 1.329 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/1.666, allocations: 32.16 kB / 1.329 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/1.666, allocations: 30.03 kB / 1.329 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.666, allocations: 11.31 kB / 1.329 GB, free: 13.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009231/1.667, allocations: 0.7657 MB / 1.33 GB, free: 13.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.667, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009388/1.668, allocations: 294.7 kB / 1.33 GB, free: 13.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005509/1.668, allocations: 316.5 kB / 1.33 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005407/1.669, allocations: 329.8 kB / 1.331 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.669, allocations: 4.062 kB / 1.331 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/1.669, allocations: 134.3 kB / 1.331 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/1.671, allocations: 484.7 kB / 1.331 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/1.673, allocations: 1.814 MB / 1.333 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/1.674, allocations: 1.067 MB / 1.334 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007395/1.674, allocations: 193.2 kB / 1.334 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.675, allocations: 69.22 kB / 1.334 GB, free: 11.45 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.675, allocations: 0 / 1.334 GB, free: 11.45 MB / 1.014 GB Notification: Performance of Templates: time 0.03211/1.707, allocations: 16.87 MB / 1.351 GB, free: 6.949 MB / 1.014 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