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.001063/0.001063, allocations: 92.7 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.00159/0.00159, allocations: 177.1 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.496/1.496, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 9.469 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3843, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.13/1.514, allocations: 243.4 MB / 1.297 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02566/1.54, allocations: 21.99 MB / 1.318 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/1.543, allocations: 46.06 kB / 1.319 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/1.545, allocations: 0.7896 MB / 1.319 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/1.55, allocations: 1.386 MB / 1.321 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005646/1.556, allocations: 1.772 MB / 1.322 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005267/1.561, allocations: 3.531 MB / 1.326 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.563, allocations: 1.087 MB / 1.327 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/1.566, allocations: 1.132 MB / 1.328 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/1.567, allocations: 0.8507 MB / 1.329 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.567, allocations: 35.62 kB / 1.329 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/1.572, allocations: 1.871 MB / 1.331 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/1.572, allocations: 289.9 kB / 1.331 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/1.573, allocations: 0.561 MB / 1.331 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/1.576, allocations: 1.688 MB / 1.333 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.576, allocations: 0 / 1.333 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.207e-06/1.576, allocations: 0 / 1.333 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.167e-05/1.576, allocations: 5.672 kB / 1.333 GB, free: 1.125 MB / 0.9981 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.002246/1.579, allocations: 1.226 MB / 1.334 GB, free: 16.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.579, allocations: 14.88 kB / 1.334 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/1.58, allocations: 225.4 kB / 1.335 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.581, allocations: 0.8498 MB / 1.335 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/1.581, allocations: 194.5 kB / 1.336 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.581, allocations: 93.16 kB / 1.336 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.583, allocations: 0.9271 MB / 1.337 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.583, allocations: 4 kB / 1.337 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/1.583, allocations: 35.19 kB / 1.337 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/1.583, allocations: 19.56 kB / 1.337 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.584, allocations: 0.6297 MB / 1.337 GB, free: 15.68 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.004415/1.588, allocations: 4.447 MB / 1.342 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.589, allocations: 187.6 kB / 1.342 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.589, allocations: 155.7 kB / 1.342 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.59, allocations: 1.017 MB / 1.343 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.59, allocations: 40.69 kB / 1.343 GB, free: 11.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/1.59, allocations: 0 / 1.343 GB, free: 11.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009657/1.591, allocations: 470.2 kB / 1.343 GB, free: 11.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.591, allocations: 53.84 kB / 1.343 GB, free: 11.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.593, allocations: 1.105 MB / 1.345 GB, free: 11.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/1.593, allocations: 36.14 kB / 1.345 GB, free: 11.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/1.593, allocations: 0.5092 MB / 1.345 GB, free: 11.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/1.593, allocations: 91.67 kB / 1.345 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/1.593, allocations: 39.28 kB / 1.345 GB, free: 11.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.593, allocations: 318.2 kB / 1.345 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.594, allocations: 135.9 kB / 1.346 GB, free: 10.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/1.594, allocations: 382.6 kB / 1.346 GB, free: 10.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/1.595, allocations: 464.5 kB / 1.346 GB, free: 10.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.595, allocations: 2.906 kB / 1.346 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008828/1.595, allocations: 0.5466 MB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.595, allocations: 6.75 kB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.595, allocations: 5.344 kB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.595, allocations: 10.09 kB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.596, allocations: 93.42 kB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.596, allocations: 17.38 kB / 1.347 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/1.597, allocations: 130.1 kB / 1.347 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/1.597, allocations: 29.23 kB / 1.347 GB, free: 10.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003912/1.597, allocations: 282.8 kB / 1.348 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.597, allocations: 104 kB / 1.348 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/1.598, allocations: 434.7 kB / 1.348 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.598, allocations: 3.594 kB / 1.348 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.598, allocations: 0.6562 kB / 1.348 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.598, allocations: 1.359 kB / 1.348 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.6, allocations: 1.547 MB / 1.35 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.6, allocations: 5.25 kB / 1.35 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/1.601, allocations: 44.16 kB / 1.35 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.601, allocations: 6 kB / 1.35 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.601, allocations: 12.81 kB / 1.35 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.601, allocations: 11.67 kB / 1.35 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.601, allocations: 5.094 kB / 1.35 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/1.601, allocations: 0.5712 MB / 1.35 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/1.602, allocations: 247.3 kB / 1.35 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.602, allocations: 9.156 kB / 1.35 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/1.602, allocations: 36.62 kB / 1.35 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/1.602, allocations: 32.5 kB / 1.35 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/1.602, allocations: 15.41 kB / 1.351 GB, free: 8.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009614/1.603, allocations: 0.7828 MB / 1.351 GB, free: 8.773 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.603, allocations: 0 / 1.351 GB, free: 8.773 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009626/1.604, allocations: 280.3 kB / 1.352 GB, free: 8.738 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 (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.0006961/1.605, allocations: 347.3 kB / 1.352 GB, free: 8.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000595/1.605, allocations: 333.4 kB / 1.352 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.605, allocations: 3.938 kB / 1.352 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/1.606, allocations: 145.1 kB / 1.352 GB, free: 8.578 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.609, allocations: 0.5183 MB / 1.353 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.612, allocations: 1.967 MB / 1.355 GB, free: 7.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/1.612, allocations: 1.065 MB / 1.356 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.613, allocations: 82.52 kB / 1.356 GB, free: 6.664 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.613, allocations: 0 / 1.356 GB, free: 6.664 MB / 1.014 GB Notification: Performance of Templates: time 0.02673/1.639, allocations: 16.93 MB / 1.372 GB, free: 336 kB / 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/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