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.009072/0.009073, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002182/0.002182, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 56.12 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2649/1.324, allocations: 249 MB / 1.451 GB, free: 3.77 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02698/1.351, allocations: 22.29 MB / 1.473 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/1.353, allocations: 59.62 kB / 1.473 GB, free: 13.35 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/1.356, allocations: 0.9781 MB / 1.474 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/1.36, allocations: 1.462 MB / 1.475 GB, free: 10.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005056/1.365, allocations: 1.932 MB / 1.477 GB, free: 8.969 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00397/1.369, allocations: 2.69 MB / 1.48 GB, free: 6.273 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/1.371, allocations: 1.313 MB / 1.481 GB, free: 4.922 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/1.374, allocations: 1.362 MB / 1.482 GB, free: 3.555 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/1.376, allocations: 0.9105 MB / 1.483 GB, free: 2.641 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/1.376, allocations: 108 kB / 1.483 GB, free: 2.535 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/1.38, allocations: 1.68 MB / 1.485 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/1.381, allocations: 378.9 kB / 1.485 GB, free: 492 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007453/1.382, allocations: 0.6377 MB / 1.486 GB, free: 15.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/1.385, allocations: 2.274 MB / 1.488 GB, free: 13.56 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/1.385, allocations: 0 / 1.488 GB, free: 13.56 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.275e-06/1.385, allocations: 0 / 1.488 GB, free: 13.56 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.226e-05/1.385, allocations: 4 kB / 1.488 GB, free: 13.55 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.002219/1.387, allocations: 1.468 MB / 1.489 GB, free: 12.03 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.387, allocations: 8.031 kB / 1.489 GB, free: 12.02 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/1.388, allocations: 234.4 kB / 1.49 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.39, allocations: 0.9115 MB / 1.491 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/1.39, allocations: 188.8 kB / 1.491 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.39, allocations: 95.92 kB / 1.491 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/1.392, allocations: 0.9324 MB / 1.492 GB, free: 9.57 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.392, allocations: 0 / 1.492 GB, free: 9.57 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/1.392, allocations: 36 kB / 1.492 GB, free: 9.535 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/1.392, allocations: 31.94 kB / 1.492 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.393, allocations: 0.6285 MB / 1.492 GB, free: 8.875 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.004351/1.397, allocations: 4.42 MB / 1.497 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/1.397, allocations: 186.7 kB / 1.497 GB, free: 3.871 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/1.398, allocations: 148.7 kB / 1.497 GB, free: 3.723 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/1.399, allocations: 1.029 MB / 1.498 GB, free: 2.473 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.399, allocations: 30.66 kB / 1.498 GB, free: 2.434 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.275e-06/1.399, allocations: 3.938 kB / 1.498 GB, free: 2.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001024/1.4, allocations: 466.3 kB / 1.499 GB, free: 1.969 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.4, allocations: 55.41 kB / 1.499 GB, free: 1.902 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/1.401, allocations: 1.11 MB / 1.5 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.401, allocations: 37.7 kB / 1.5 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/1.402, allocations: 0.504 MB / 1.5 GB, free: 232 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/1.402, allocations: 90.73 kB / 1.5 GB, free: 140 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.402, allocations: 94.02 kB / 1.5 GB, free: 36 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.402, allocations: 322 kB / 1.501 GB, free: 15.71 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/1.402, allocations: 128.8 kB / 1.501 GB, free: 15.59 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/1.403, allocations: 387.1 kB / 1.501 GB, free: 15.11 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/1.403, allocations: 471.5 kB / 1.502 GB, free: 14.56 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.403, allocations: 4 kB / 1.502 GB, free: 14.55 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008385/1.404, allocations: 0.5387 MB / 1.502 GB, free: 14.01 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.404, allocations: 15.92 kB / 1.502 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.404, allocations: 8.688 kB / 1.502 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.404, allocations: 8 kB / 1.502 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/1.404, allocations: 87.84 kB / 1.502 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.405, allocations: 11.98 kB / 1.502 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/1.405, allocations: 94.95 kB / 1.502 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/1.405, allocations: 31.98 kB / 1.502 GB, free: 13.75 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.0003407/1.406, allocations: 285.6 kB / 1.503 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.406, allocations: 102.7 kB / 1.503 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/1.406, allocations: 432.3 kB / 1.503 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.407, allocations: 7.984 kB / 1.503 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.407, allocations: 0 / 1.503 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.407, allocations: 0 / 1.503 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.409, allocations: 1.546 MB / 1.505 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.409, allocations: 4 kB / 1.505 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/1.409, allocations: 47.84 kB / 1.505 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.409, allocations: 8 kB / 1.505 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.409, allocations: 8.562 kB / 1.505 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/1.409, allocations: 11.94 kB / 1.505 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.409, allocations: 11.94 kB / 1.505 GB, free: 11.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/1.41, allocations: 0.577 MB / 1.505 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/1.41, allocations: 239.7 kB / 1.506 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/1.411, allocations: 8 kB / 1.506 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.411, allocations: 15.98 kB / 1.506 GB, free: 10.26 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/1.411, allocations: 36.12 kB / 1.506 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.411, allocations: 12 kB / 1.506 GB, free: 10.21 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001248/1.412, allocations: 0.7822 MB / 1.506 GB, free: 9.422 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.412, allocations: 0 / 1.506 GB, free: 9.422 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00111/1.414, allocations: 279.5 kB / 1.507 GB, free: 9.148 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.0008487/1.414, allocations: 337.4 kB / 1.507 GB, free: 8.816 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006686/1.415, allocations: 346.7 kB / 1.507 GB, free: 8.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.415, allocations: 4 kB / 1.507 GB, free: 8.477 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.415, allocations: 131.8 kB / 1.507 GB, free: 8.348 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.418, allocations: 0.5204 MB / 1.508 GB, free: 7.832 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.42, allocations: 1.559 MB / 1.51 GB, free: 6.184 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/1.421, allocations: 1.071 MB / 1.511 GB, free: 5.086 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005759/1.421, allocations: 193.9 kB / 1.511 GB, free: 4.898 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.421, allocations: 67.42 kB / 1.511 GB, free: 4.832 MB / 1.232 GB Notification: Performance of SimCode: time 2.4e-07/1.421, allocations: 3.938 kB / 1.511 GB, free: 4.828 MB / 1.232 GB Notification: Performance of Templates: time 0.03478/1.456, allocations: 18.58 MB / 1.529 GB, free: 2.48 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