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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001634/0.001634, allocations: 108 kB / 15.61 MB, free: 152 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.00209/0.00209, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.7 MB / 0.7451 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 66.53 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4035, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9315/1.335, allocations: 249 MB / 1.311 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02738/1.362, allocations: 22.28 MB / 1.333 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/1.365, allocations: 53.44 kB / 1.333 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003017/1.368, allocations: 0.971 MB / 1.334 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/1.373, allocations: 1.468 MB / 1.336 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/1.378, allocations: 1.925 MB / 1.337 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004327/1.383, allocations: 2.692 MB / 1.34 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/1.385, allocations: 1.319 MB / 1.341 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/1.388, allocations: 1.336 MB / 1.343 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/1.389, allocations: 0.9053 MB / 1.344 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/1.389, allocations: 111.3 kB / 1.344 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/1.393, allocations: 1.677 MB / 1.345 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/1.393, allocations: 374.8 kB / 1.346 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008161/1.394, allocations: 0.6323 MB / 1.346 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/1.398, allocations: 2.231 MB / 1.348 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.398, allocations: 6.531 kB / 1.348 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.398, allocations: 0 / 1.348 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.155e-05/1.398, allocations: 4 kB / 1.348 GB, free: 3.434 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.002156/1.4, allocations: 1.464 MB / 1.35 GB, free: 18.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.4, allocations: 10.78 kB / 1.35 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/1.401, allocations: 230 kB / 1.35 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.402, allocations: 0.8522 MB / 1.351 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/1.403, allocations: 186.7 kB / 1.351 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.403, allocations: 94 kB / 1.351 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.404, allocations: 0.932 MB / 1.352 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.404, allocations: 2.531 kB / 1.352 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/1.404, allocations: 35.34 kB / 1.352 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/1.404, allocations: 25.84 kB / 1.352 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/1.405, allocations: 0.63 MB / 1.353 GB, free: 16.98 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.004274/1.409, allocations: 4.467 MB / 1.357 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/1.41, allocations: 196.3 kB / 1.357 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.41, allocations: 146.8 kB / 1.357 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.411, allocations: 1.019 MB / 1.358 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.411, allocations: 32.75 kB / 1.358 GB, free: 12.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/1.411, allocations: 0 / 1.358 GB, free: 12.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001035/1.412, allocations: 472.2 kB / 1.359 GB, free: 12.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.412, allocations: 55.17 kB / 1.359 GB, free: 11.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.414, allocations: 1.109 MB / 1.36 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/1.414, allocations: 31.83 kB / 1.36 GB, free: 11.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/1.414, allocations: 0.5088 MB / 1.361 GB, free: 11.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/1.414, allocations: 89.59 kB / 1.361 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.414, allocations: 94.66 kB / 1.361 GB, free: 10.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.414, allocations: 321 kB / 1.361 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/1.415, allocations: 131.2 kB / 1.361 GB, free: 10.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/1.415, allocations: 389.1 kB / 1.362 GB, free: 10.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/1.416, allocations: 464.3 kB / 1.362 GB, free: 9.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.416, allocations: 3.062 kB / 1.362 GB, free: 9.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009341/1.417, allocations: 0.5387 MB / 1.363 GB, free: 9.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.417, allocations: 8.188 kB / 1.363 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.417, allocations: 5.531 kB / 1.363 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.417, allocations: 11.97 kB / 1.363 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/1.417, allocations: 90.94 kB / 1.363 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.417, allocations: 11.62 kB / 1.363 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/1.418, allocations: 96.41 kB / 1.363 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/1.418, allocations: 25.98 kB / 1.363 GB, free: 9.641 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.0003809/1.418, allocations: 293.6 kB / 1.363 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.419, allocations: 101 kB / 1.363 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/1.419, allocations: 422.2 kB / 1.364 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.419, allocations: 8.625 kB / 1.364 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.419, allocations: 0 / 1.364 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.419, allocations: 2.953 kB / 1.364 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.421, allocations: 1.562 MB / 1.365 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.421, allocations: 5.594 kB / 1.365 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.422, allocations: 42.91 kB / 1.365 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.422, allocations: 5.531 kB / 1.365 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.422, allocations: 16.16 kB / 1.365 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.422, allocations: 9.797 kB / 1.365 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.422, allocations: 5.25 kB / 1.365 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/1.422, allocations: 0.5755 MB / 1.366 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/1.423, allocations: 238.1 kB / 1.366 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.423, allocations: 15.17 kB / 1.366 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/1.423, allocations: 10.7 kB / 1.366 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/1.423, allocations: 36.86 kB / 1.366 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.423, allocations: 14.84 kB / 1.366 GB, free: 7.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009637/1.424, allocations: 0.7858 MB / 1.367 GB, free: 7.312 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.424, allocations: 0 / 1.367 GB, free: 7.312 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009745/1.425, allocations: 282.8 kB / 1.367 GB, free: 7.258 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.0006883/1.426, allocations: 332 kB / 1.367 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006248/1.427, allocations: 346.8 kB / 1.368 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.427, allocations: 3.406 kB / 1.368 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/1.427, allocations: 142.6 kB / 1.368 GB, free: 6.973 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.429, allocations: 0.5278 MB / 1.368 GB, free: 6.805 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/1.432, allocations: 1.594 MB / 1.37 GB, free: 5.855 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/1.432, allocations: 1.061 MB / 1.371 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008522/1.433, allocations: 202.9 kB / 1.371 GB, free: 5.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/1.433, allocations: 62.69 kB / 1.371 GB, free: 5.062 MB / 1.014 GB Notification: Performance of SimCode: time 2.776e-06/1.433, allocations: 2.75 kB / 1.371 GB, free: 5.062 MB / 1.014 GB Notification: Performance of Templates: time 0.03635/1.47, allocations: 18.46 MB / 1.389 GB, free: 13.45 MB / 1.029 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