Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001818/0.001818, allocations: 108 kB / 15.6 MB, free: 132 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.002671/0.002671, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9015, allocations: 140.4 MB / 0.9496 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2855/1.187, allocations: 249 MB / 1.193 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02726/1.214, allocations: 22.29 MB / 1.214 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/1.217, allocations: 55.69 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/1.22, allocations: 0.9742 MB / 1.215 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/1.224, allocations: 1.469 MB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/1.23, allocations: 1.919 MB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004527/1.234, allocations: 2.694 MB / 1.221 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/1.236, allocations: 1.32 MB / 1.223 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/1.239, allocations: 1.339 MB / 1.224 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.241, allocations: 0.9104 MB / 1.225 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/1.241, allocations: 108 kB / 1.225 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/1.244, allocations: 1.676 MB / 1.227 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005179/1.245, allocations: 374.9 kB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009947/1.246, allocations: 0.6376 MB / 1.228 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/1.251, allocations: 2.232 MB / 1.23 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/1.251, allocations: 0 / 1.23 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.099e-06/1.251, allocations: 4 kB / 1.23 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.772e-05/1.251, allocations: 0 / 1.23 GB, free: 2.004 MB / 0.9825 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.003233/1.255, allocations: 1.464 MB / 1.231 GB, free: 496 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/1.255, allocations: 8.031 kB / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.256, allocations: 226.3 kB / 1.231 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.257, allocations: 0.8647 MB / 1.232 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/1.258, allocations: 180.8 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.258, allocations: 99.94 kB / 1.233 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.259, allocations: 0.9285 MB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.259, allocations: 0 / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/1.259, allocations: 36 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/1.259, allocations: 27.98 kB / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.26, allocations: 0.6323 MB / 1.234 GB, free: 13.39 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.00454/1.265, allocations: 4.459 MB / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/1.265, allocations: 188 kB / 1.239 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/1.265, allocations: 140.8 kB / 1.239 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.267, allocations: 1.017 MB / 1.24 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.267, allocations: 38.55 kB / 1.24 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.267, allocations: 4 kB / 1.24 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001056/1.268, allocations: 469.6 kB / 1.24 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.268, allocations: 55.41 kB / 1.24 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.269, allocations: 1.11 MB / 1.241 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.269, allocations: 33.7 kB / 1.241 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/1.27, allocations: 0.5079 MB / 1.242 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/1.27, allocations: 94.77 kB / 1.242 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.27, allocations: 97.94 kB / 1.242 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.27, allocations: 326 kB / 1.242 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.27, allocations: 128.8 kB / 1.243 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/1.271, allocations: 387.1 kB / 1.243 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/1.271, allocations: 467.6 kB / 1.243 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.271, allocations: 0 / 1.243 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008799/1.272, allocations: 0.5427 MB / 1.244 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.272, allocations: 7.938 kB / 1.244 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.272, allocations: 8 kB / 1.244 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.272, allocations: 8 kB / 1.244 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/1.272, allocations: 91.77 kB / 1.244 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.272, allocations: 8.562 kB / 1.244 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/1.273, allocations: 103 kB / 1.244 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/1.273, allocations: 27.98 kB / 1.244 GB, free: 2.23 MB / 0.9981 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.0003688/1.274, allocations: 285.6 kB / 1.244 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/1.274, allocations: 106.6 kB / 1.245 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/1.274, allocations: 431.7 kB / 1.245 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.274, allocations: 0 / 1.245 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.274, allocations: 0 / 1.245 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.274, allocations: 3.984 kB / 1.245 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.683/1.957, allocations: 1.545 MB / 1.246 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.958, allocations: 4.594 kB / 1.246 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/1.958, allocations: 48.53 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/1.958, allocations: 5.406 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/1.958, allocations: 12.72 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/1.958, allocations: 6.562 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.958, allocations: 9.031 kB / 1.247 GB, free: 289.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/1.959, allocations: 0.5638 MB / 1.247 GB, free: 288.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/1.959, allocations: 235.2 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.959, allocations: 16.11 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.96, allocations: 15.66 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/1.96, allocations: 29.28 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/1.96, allocations: 18.94 kB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001331/1.961, allocations: 0.7787 MB / 1.248 GB, free: 288.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.961, allocations: 0 / 1.248 GB, free: 288.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001151/1.962, allocations: 282.4 kB / 1.248 GB, free: 288.4 MB / 0.9981 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.0007535/1.963, allocations: 336.7 kB / 1.249 GB, free: 288.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007474/1.964, allocations: 343.6 kB / 1.249 GB, free: 288.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.964, allocations: 0.8125 kB / 1.249 GB, free: 288.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/1.964, allocations: 141.8 kB / 1.249 GB, free: 288.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.967, allocations: 0.5297 MB / 1.25 GB, free: 288.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/1.97, allocations: 1.585 MB / 1.251 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.971, allocations: 1.065 MB / 1.252 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001302/1.972, allocations: 191.2 kB / 1.253 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/1.972, allocations: 74.14 kB / 1.253 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.753e-06/1.972, allocations: 0 / 1.253 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04668/2.019, allocations: 18.45 MB / 1.271 GB, free: 278.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches