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.001121/0.001121, allocations: 107.1 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.001154/0.001155, allocations: 191.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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.335/2.335, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 64.14 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7778/1.076, allocations: 249 MB / 1.193 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02732/1.104, allocations: 22.27 MB / 1.215 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/1.107, allocations: 55.47 kB / 1.215 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/1.11, allocations: 0.9776 MB / 1.216 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/1.115, allocations: 1.459 MB / 1.218 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005549/1.12, allocations: 1.924 MB / 1.219 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004444/1.125, allocations: 2.697 MB / 1.222 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/1.127, allocations: 1.311 MB / 1.223 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/1.129, allocations: 1.338 MB / 1.225 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/1.131, allocations: 0.9093 MB / 1.226 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.131, allocations: 114.1 kB / 1.226 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/1.134, allocations: 1.681 MB / 1.227 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/1.135, allocations: 379.8 kB / 1.228 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/1.136, allocations: 0.6284 MB / 1.228 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/1.139, allocations: 2.236 MB / 1.23 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.139, allocations: 0 / 1.23 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/1.139, allocations: 0 / 1.23 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.19e-05/1.139, allocations: 0 / 1.23 GB, free: 12.16 MB / 0.9044 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.001974/1.141, allocations: 1.47 MB / 1.232 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.141, allocations: 9.531 kB / 1.232 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.142, allocations: 225.7 kB / 1.232 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.144, allocations: 0.8468 MB / 1.233 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/1.144, allocations: 188.4 kB / 1.233 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.144, allocations: 88.28 kB / 1.233 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.145, allocations: 0.9404 MB / 1.234 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.145, allocations: 0 / 1.234 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/1.145, allocations: 35.81 kB / 1.234 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.145, allocations: 22.72 kB / 1.234 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.147, allocations: 0.6308 MB / 1.235 GB, free: 9.09 MB / 0.9044 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.0045/1.151, allocations: 4.461 MB / 1.239 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/1.151, allocations: 193.2 kB / 1.239 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/1.152, allocations: 144.3 kB / 1.239 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.153, allocations: 1.02 MB / 1.24 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.153, allocations: 37.28 kB / 1.241 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/1.153, allocations: 4 kB / 1.241 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001071/1.154, allocations: 469.5 kB / 1.241 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.154, allocations: 55.94 kB / 1.241 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.155, allocations: 1.109 MB / 1.242 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.155, allocations: 32.33 kB / 1.242 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/1.156, allocations: 0.5093 MB / 1.243 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/1.156, allocations: 88.58 kB / 1.243 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/1.156, allocations: 100.7 kB / 1.243 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.156, allocations: 320.4 kB / 1.243 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.156, allocations: 126.2 kB / 1.243 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/1.157, allocations: 391.1 kB / 1.244 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/1.157, allocations: 472.4 kB / 1.244 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.157, allocations: 1.906 kB / 1.244 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008775/1.158, allocations: 0.5404 MB / 1.245 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.158, allocations: 10.44 kB / 1.245 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.158, allocations: 10.19 kB / 1.245 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.158, allocations: 9.781 kB / 1.245 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/1.159, allocations: 92.08 kB / 1.245 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.159, allocations: 12.34 kB / 1.245 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/1.159, allocations: 96.81 kB / 1.245 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/1.159, allocations: 26.38 kB / 1.245 GB, free: 0.4961 MB / 0.9044 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.0003434/1.16, allocations: 285.9 kB / 1.245 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.16, allocations: 106.9 kB / 1.245 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/1.161, allocations: 433.4 kB / 1.246 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.161, allocations: 2.125 kB / 1.246 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.161, allocations: 0 / 1.246 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.161, allocations: 0 / 1.246 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/1.163, allocations: 1.556 MB / 1.247 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.163, allocations: 2.344 kB / 1.247 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/1.163, allocations: 40.02 kB / 1.247 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/1.163, allocations: 10.5 kB / 1.247 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.163, allocations: 10.44 kB / 1.247 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.163, allocations: 5.938 kB / 1.247 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.163, allocations: 13.48 kB / 1.247 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/1.164, allocations: 0.5775 MB / 1.248 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.164, allocations: 237.8 kB / 1.248 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.164, allocations: 14.39 kB / 1.248 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/1.165, allocations: 17.05 kB / 1.248 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/1.165, allocations: 35.3 kB / 1.248 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/1.165, allocations: 11.19 kB / 1.248 GB, free: 14.01 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009783/1.166, allocations: 0.782 MB / 1.249 GB, free: 13.57 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/1.166, allocations: 0 / 1.249 GB, free: 13.57 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009102/1.167, allocations: 279 kB / 1.249 GB, free: 13.52 MB / 0.92 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.0006841/1.167, allocations: 342.7 kB / 1.249 GB, free: 13.31 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008095/1.168, allocations: 346.5 kB / 1.25 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.168, allocations: 4.375 kB / 1.25 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.168, allocations: 137.2 kB / 1.25 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.171, allocations: 0.5054 MB / 1.25 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/1.173, allocations: 1.659 MB / 1.252 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.174, allocations: 1.059 MB / 1.253 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/1.174, allocations: 79.42 kB / 1.253 GB, free: 10.03 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/1.174, allocations: 0 / 1.253 GB, free: 10.03 MB / 0.92 GB Notification: Performance of Templates: time 0.02944/1.204, allocations: 17.09 MB / 1.27 GB, free: 9.074 MB / 0.9356 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/jenkins1/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