Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001743/0.001743, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001898/0.001898, allocations: 190.5 kB / 16.25 MB, free: 6.637 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 62.81 kB / 0.908 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8155/1.116, allocations: 246 MB / 1.304 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02117/1.137, allocations: 22.09 MB / 1.325 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/1.139, allocations: 51.16 kB / 1.325 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/1.143, allocations: 0.8414 MB / 1.326 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/1.148, allocations: 1.388 MB / 1.327 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005227/1.154, allocations: 1.779 MB / 1.329 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004494/1.158, allocations: 2.709 MB / 1.332 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/1.16, allocations: 1.302 MB / 1.333 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/1.163, allocations: 1.344 MB / 1.334 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.165, allocations: 0.947 MB / 1.335 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/1.165, allocations: 110.9 kB / 1.335 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/1.169, allocations: 1.73 MB / 1.337 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/1.169, allocations: 383.6 kB / 1.338 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007975/1.17, allocations: 0.6345 MB / 1.338 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/1.173, allocations: 2.345 MB / 1.34 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.174, allocations: 0 / 1.34 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.174, allocations: 0 / 1.34 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.174, allocations: 2.531 kB / 1.34 GB, free: 3.047 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.002016/1.176, allocations: 1.47 MB / 1.342 GB, free: 18.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.176, allocations: 11.39 kB / 1.342 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.177, allocations: 227.5 kB / 1.342 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.178, allocations: 0.8475 MB / 1.343 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.178, allocations: 189.1 kB / 1.343 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/1.178, allocations: 92.34 kB / 1.343 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/1.179, allocations: 0.9261 MB / 1.344 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.179, allocations: 0 / 1.344 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/1.179, allocations: 39.94 kB / 1.344 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/1.18, allocations: 25.09 kB / 1.344 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.181, allocations: 0.6289 MB / 1.345 GB, free: 17.57 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.005204/1.186, allocations: 4.444 MB / 1.349 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/1.186, allocations: 192 kB / 1.349 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.186, allocations: 144.6 kB / 1.349 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.188, allocations: 1.025 MB / 1.35 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.188, allocations: 35.47 kB / 1.35 GB, free: 13.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.344e-06/1.188, allocations: 0 / 1.35 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.00106/1.189, allocations: 467.2 kB / 1.351 GB, free: 13.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/1.189, allocations: 57.34 kB / 1.351 GB, free: 13.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.19, allocations: 1.112 MB / 1.352 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/1.19, allocations: 35.7 kB / 1.352 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/1.191, allocations: 0.5077 MB / 1.353 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/1.191, allocations: 86.09 kB / 1.353 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.191, allocations: 102.2 kB / 1.353 GB, free: 12.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.191, allocations: 319.6 kB / 1.353 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/1.191, allocations: 129.3 kB / 1.353 GB, free: 12.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/1.192, allocations: 382.4 kB / 1.354 GB, free: 12.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/1.192, allocations: 473.5 kB / 1.354 GB, free: 11.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.192, allocations: 0 / 1.354 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008314/1.193, allocations: 0.54 MB / 1.355 GB, free: 11.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.193, allocations: 7.125 kB / 1.355 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.193, allocations: 7.094 kB / 1.355 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.193, allocations: 10.09 kB / 1.355 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/1.193, allocations: 94.89 kB / 1.355 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.193, allocations: 13.38 kB / 1.355 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/1.194, allocations: 126 kB / 1.355 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/1.194, allocations: 28.62 kB / 1.355 GB, free: 11.69 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.0003418/1.195, allocations: 284.8 kB / 1.355 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.195, allocations: 109.5 kB / 1.355 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/1.195, allocations: 424.5 kB / 1.356 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.195, allocations: 0 / 1.356 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.195, allocations: 2.812 kB / 1.356 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.196, allocations: 3.281 kB / 1.356 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/1.198, allocations: 1.549 MB / 1.357 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.198, allocations: 6.062 kB / 1.357 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/1.198, allocations: 40.22 kB / 1.357 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.198, allocations: 9.531 kB / 1.357 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.198, allocations: 15.92 kB / 1.357 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/1.198, allocations: 7.906 kB / 1.357 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.198, allocations: 10.59 kB / 1.357 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/1.198, allocations: 0.5799 MB / 1.358 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/1.199, allocations: 234.5 kB / 1.358 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.199, allocations: 14.33 kB / 1.358 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/1.199, allocations: 33.12 kB / 1.358 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/1.199, allocations: 31.97 kB / 1.358 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/1.199, allocations: 12.61 kB / 1.358 GB, free: 9.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009636/1.2, allocations: 0.7795 MB / 1.359 GB, free: 9.367 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.2, allocations: 0 / 1.359 GB, free: 9.367 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009226/1.201, allocations: 286.1 kB / 1.359 GB, free: 9.309 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.0007341/1.202, allocations: 339 kB / 1.359 GB, free: 9.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006091/1.203, allocations: 346.6 kB / 1.36 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.203, allocations: 0 / 1.36 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/1.203, allocations: 142.4 kB / 1.36 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.205, allocations: 0.5115 MB / 1.36 GB, free: 8.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/1.208, allocations: 1.907 MB / 1.362 GB, free: 7.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/1.208, allocations: 1.064 MB / 1.363 GB, free: 6.859 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007656/1.209, allocations: 199.3 kB / 1.363 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.209, allocations: 72.66 kB / 1.364 GB, free: 6.801 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.209, allocations: 0 / 1.364 GB, free: 6.801 MB / 1.014 GB Notification: Performance of Templates: time 0.03131/1.241, allocations: 18.37 MB / 1.381 GB, free: 308 kB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches