Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001652/0.001652, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001896/0.001897, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 64.47 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3591, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9888/1.348, allocations: 249 MB / 1.261 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03318/1.381, allocations: 22.27 MB / 1.283 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/1.384, allocations: 51.69 kB / 1.283 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003596/1.388, allocations: 0.9742 MB / 1.284 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/1.393, allocations: 1.466 MB / 1.285 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006042/1.399, allocations: 1.929 MB / 1.287 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004616/1.404, allocations: 2.683 MB / 1.29 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/1.406, allocations: 1.326 MB / 1.291 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/1.41, allocations: 1.331 MB / 1.292 GB, free: 248 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/1.412, allocations: 0.9145 MB / 1.293 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004116/1.412, allocations: 112 kB / 1.293 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/1.417, allocations: 1.672 MB / 1.295 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006776/1.417, allocations: 378.9 kB / 1.295 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.419, allocations: 0.6376 MB / 1.296 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/1.424, allocations: 2.228 MB / 1.298 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.424, allocations: 3.938 kB / 1.298 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.424, allocations: 0 / 1.298 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.602e-05/1.424, allocations: 0 / 1.298 GB, free: 10.29 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.003504/1.427, allocations: 1.473 MB / 1.3 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.427, allocations: 16.91 kB / 1.3 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/1.429, allocations: 222.3 kB / 1.3 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/1.431, allocations: 0.8454 MB / 1.301 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/1.431, allocations: 192.8 kB / 1.301 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.431, allocations: 88 kB / 1.301 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/1.433, allocations: 0.9323 MB / 1.302 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.433, allocations: 0 / 1.302 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/1.433, allocations: 43.98 kB / 1.302 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.433, allocations: 23.94 kB / 1.302 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.434, allocations: 0.6285 MB / 1.303 GB, free: 5.68 MB / 0.9981 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.005387/1.44, allocations: 4.466 MB / 1.307 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/1.44, allocations: 189.1 kB / 1.307 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/1.44, allocations: 144.8 kB / 1.307 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.441, allocations: 1.017 MB / 1.308 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.441, allocations: 34.42 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 3.316e-06/1.441, allocations: 4 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001197/1.443, allocations: 483.9 kB / 1.309 GB, free: 14.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/1.443, allocations: 51.41 kB / 1.309 GB, free: 14.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.444, allocations: 1.106 MB / 1.31 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/1.444, allocations: 33.7 kB / 1.31 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/1.445, allocations: 0.5118 MB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/1.445, allocations: 82.84 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.445, allocations: 101.9 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.445, allocations: 318 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/1.446, allocations: 128.8 kB / 1.311 GB, free: 12.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/1.446, allocations: 387.1 kB / 1.311 GB, free: 11.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/1.447, allocations: 475.5 kB / 1.312 GB, free: 11.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.447, allocations: 0 / 1.312 GB, free: 11.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001049/1.448, allocations: 0.5352 MB / 1.312 GB, free: 10.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.448, allocations: 8 kB / 1.312 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.448, allocations: 11.94 kB / 1.312 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.448, allocations: 8 kB / 1.312 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/1.448, allocations: 91.83 kB / 1.312 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.448, allocations: 11.94 kB / 1.312 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/1.449, allocations: 95.38 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/1.449, allocations: 24 kB / 1.313 GB, free: 10.52 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.0004445/1.45, allocations: 290.2 kB / 1.313 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.45, allocations: 102.7 kB / 1.313 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/1.451, allocations: 432.2 kB / 1.313 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.451, allocations: 4 kB / 1.313 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.451, allocations: 4 kB / 1.313 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.451, allocations: 0 / 1.313 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/1.453, allocations: 1.55 MB / 1.315 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.453, allocations: 4 kB / 1.315 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/1.453, allocations: 47.86 kB / 1.315 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.453, allocations: 11.94 kB / 1.315 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.453, allocations: 4 kB / 1.315 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.453, allocations: 8 kB / 1.315 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.453, allocations: 8.797 kB / 1.315 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/1.454, allocations: 0.5797 MB / 1.315 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/1.455, allocations: 243.6 kB / 1.316 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.455, allocations: 12 kB / 1.316 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/1.455, allocations: 15.97 kB / 1.316 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/1.455, allocations: 31.86 kB / 1.316 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/1.455, allocations: 16 kB / 1.316 GB, free: 6.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001223/1.457, allocations: 0.7783 MB / 1.317 GB, free: 6.184 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.457, allocations: 0 / 1.317 GB, free: 6.184 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00131/1.458, allocations: 279.6 kB / 1.317 GB, free: 5.91 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.001158/1.459, allocations: 336.6 kB / 1.317 GB, free: 5.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000783/1.46, allocations: 348.5 kB / 1.317 GB, free: 5.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.46, allocations: 0 / 1.317 GB, free: 5.246 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/1.46, allocations: 144.1 kB / 1.318 GB, free: 5.105 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.463, allocations: 0.5185 MB / 1.318 GB, free: 4.602 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/1.466, allocations: 1.635 MB / 1.32 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/1.467, allocations: 1.063 MB / 1.321 GB, free: 1.781 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.467, allocations: 71.42 kB / 1.321 GB, free: 1.711 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.467, allocations: 0 / 1.321 GB, free: 1.711 MB / 1.014 GB Notification: Performance of Templates: time 0.0326/1.5, allocations: 17.11 MB / 1.338 GB, free: 0.7422 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches