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.001023/0.001023, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008429/0.00843, allocations: 168.7 kB / 16.26 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 462.7 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 8.719 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 159.6 MB / 1.059 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9279/1.265, allocations: 243.4 MB / 1.296 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02365/1.289, allocations: 22 MB / 1.318 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/1.292, allocations: 46.62 kB / 1.318 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003773/1.296, allocations: 0.784 MB / 1.319 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/1.301, allocations: 1.383 MB / 1.32 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006899/1.308, allocations: 1.775 MB / 1.322 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006624/1.314, allocations: 3.522 MB / 1.325 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/1.317, allocations: 1.095 MB / 1.326 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/1.32, allocations: 1.131 MB / 1.327 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.321, allocations: 0.8468 MB / 1.328 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/1.322, allocations: 34.12 kB / 1.328 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/1.326, allocations: 1.872 MB / 1.33 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004173/1.326, allocations: 288.9 kB / 1.33 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008308/1.327, allocations: 0.5592 MB / 1.331 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/1.331, allocations: 2.26 MB / 1.333 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.331, allocations: 0 / 1.333 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.331, allocations: 0 / 1.333 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.293e-05/1.331, allocations: 0 / 1.333 GB, free: 1.266 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.002201/1.333, allocations: 1.232 MB / 1.334 GB, free: 16.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.333, allocations: 9.375 kB / 1.334 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.334, allocations: 229.8 kB / 1.334 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.336, allocations: 0.8541 MB / 1.335 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/1.336, allocations: 187.5 kB / 1.335 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.336, allocations: 93.81 kB / 1.336 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.338, allocations: 0.9283 MB / 1.336 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/1.338, allocations: 1.781 kB / 1.336 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/1.338, allocations: 40.12 kB / 1.337 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/1.338, allocations: 19.88 kB / 1.337 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/1.339, allocations: 0.6329 MB / 1.337 GB, free: 15.82 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.004039/1.343, allocations: 4.445 MB / 1.342 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/1.343, allocations: 183.6 kB / 1.342 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/1.343, allocations: 151.2 kB / 1.342 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.344, allocations: 1.024 MB / 1.343 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.344, allocations: 38.03 kB / 1.343 GB, free: 11.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 4.048e-06/1.344, allocations: 0 / 1.343 GB, free: 11.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001071/1.345, allocations: 470.8 kB / 1.343 GB, free: 11.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.345, allocations: 58.22 kB / 1.343 GB, free: 11.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.347, allocations: 1.1 MB / 1.344 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/1.347, allocations: 33.69 kB / 1.344 GB, free: 11.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/1.348, allocations: 0.5085 MB / 1.345 GB, free: 11.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/1.348, allocations: 93.91 kB / 1.345 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/1.348, allocations: 41 kB / 1.345 GB, free: 11.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.348, allocations: 321.1 kB / 1.345 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.348, allocations: 127.8 kB / 1.346 GB, free: 10.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/1.349, allocations: 384.1 kB / 1.346 GB, free: 10.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/1.349, allocations: 468.4 kB / 1.346 GB, free: 10.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.349, allocations: 2.969 kB / 1.346 GB, free: 10.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008631/1.35, allocations: 0.542 MB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.35, allocations: 9.109 kB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.35, allocations: 5.875 kB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.35, allocations: 8.594 kB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/1.35, allocations: 92.56 kB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.35, allocations: 13.08 kB / 1.347 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/1.351, allocations: 132.3 kB / 1.347 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/1.351, allocations: 24.78 kB / 1.347 GB, free: 10.27 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.0003601/1.352, allocations: 285.9 kB / 1.347 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.352, allocations: 103.8 kB / 1.348 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/1.353, allocations: 440 kB / 1.348 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/1.353, allocations: 2.75 kB / 1.348 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.353, allocations: 0.7969 kB / 1.348 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.353, allocations: 1.266 kB / 1.348 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/1.355, allocations: 1.551 MB / 1.349 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.355, allocations: 2.469 kB / 1.349 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/1.355, allocations: 42.75 kB / 1.349 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.355, allocations: 6.469 kB / 1.35 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/1.355, allocations: 11.91 kB / 1.35 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.355, allocations: 6.312 kB / 1.35 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.355, allocations: 5.5 kB / 1.35 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/1.356, allocations: 0.5736 MB / 1.35 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/1.356, allocations: 248.6 kB / 1.35 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.356, allocations: 14.81 kB / 1.35 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/1.356, allocations: 30.11 kB / 1.35 GB, free: 9.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.356, allocations: 30.44 kB / 1.35 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/1.357, allocations: 15.66 kB / 1.35 GB, free: 9.035 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008865/1.357, allocations: 0.7792 MB / 1.351 GB, free: 8.926 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.357, allocations: 4 kB / 1.351 GB, free: 8.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009955/1.358, allocations: 284.2 kB / 1.351 GB, free: 8.887 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.0007216/1.359, allocations: 351.2 kB / 1.352 GB, free: 8.734 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007306/1.36, allocations: 327.6 kB / 1.352 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.36, allocations: 2.938 kB / 1.352 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.36, allocations: 141.6 kB / 1.352 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.363, allocations: 0.5208 MB / 1.353 GB, free: 8.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/1.367, allocations: 1.912 MB / 1.355 GB, free: 7.574 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/1.368, allocations: 1.073 MB / 1.356 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001025/1.369, allocations: 202.7 kB / 1.356 GB, free: 6.805 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.369, allocations: 75.61 kB / 1.356 GB, free: 6.797 MB / 1.014 GB Notification: Performance of SimCode: time 1.643e-06/1.369, allocations: 0 / 1.356 GB, free: 6.797 MB / 1.014 GB Notification: Performance of Templates: time 0.03586/1.405, allocations: 19.48 MB / 1.375 GB, free: 15.21 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