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.01184/0.01184, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.00257/0.00257, allocations: 196 kB / 16.67 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.47 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3952, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.166/1.561, allocations: 249 MB / 1.331 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02874/1.59, allocations: 22.27 MB / 1.353 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/1.593, allocations: 51.84 kB / 1.353 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.597, allocations: 0.9769 MB / 1.354 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005833/1.603, allocations: 1.464 MB / 1.355 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006256/1.609, allocations: 1.931 MB / 1.357 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00476/1.614, allocations: 2.692 MB / 1.36 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/1.616, allocations: 1.34 MB / 1.361 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/1.62, allocations: 1.339 MB / 1.362 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/1.622, allocations: 0.9171 MB / 1.363 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/1.622, allocations: 106.8 kB / 1.363 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/1.627, allocations: 1.684 MB / 1.365 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005428/1.627, allocations: 375.1 kB / 1.365 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.628, allocations: 0.6405 MB / 1.366 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005169/1.634, allocations: 2.276 MB / 1.368 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.634, allocations: 2.594 kB / 1.368 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.306e-06/1.634, allocations: 0 / 1.368 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.097e-05/1.634, allocations: 0 / 1.368 GB, free: 13.29 MB / 1.029 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.003026/1.637, allocations: 1.469 MB / 1.37 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.637, allocations: 10.78 kB / 1.37 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/1.638, allocations: 225.6 kB / 1.37 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.64, allocations: 0.9121 MB / 1.371 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/1.64, allocations: 189.5 kB / 1.371 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.64, allocations: 95.28 kB / 1.371 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.642, allocations: 0.9255 MB / 1.372 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.642, allocations: 6.531 kB / 1.372 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/1.642, allocations: 36.47 kB / 1.372 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/1.642, allocations: 21.84 kB / 1.372 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.643, allocations: 0.6304 MB / 1.373 GB, free: 10.83 MB / 1.029 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.005663/1.649, allocations: 4.426 MB / 1.377 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/1.649, allocations: 193.4 kB / 1.377 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.649, allocations: 140.6 kB / 1.377 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.651, allocations: 1.024 MB / 1.378 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.651, allocations: 37.28 kB / 1.378 GB, free: 6.094 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.425e-06/1.651, allocations: 0 / 1.378 GB, free: 6.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001182/1.652, allocations: 473.1 kB / 1.379 GB, free: 5.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.652, allocations: 55.41 kB / 1.379 GB, free: 5.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.654, allocations: 1.11 MB / 1.38 GB, free: 5.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/1.654, allocations: 33.3 kB / 1.38 GB, free: 5.352 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/1.654, allocations: 0.5076 MB / 1.38 GB, free: 4.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.654, allocations: 81.3 kB / 1.381 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.654, allocations: 101.7 kB / 1.381 GB, free: 4.836 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.654, allocations: 324.1 kB / 1.381 GB, free: 4.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/1.655, allocations: 131.1 kB / 1.381 GB, free: 4.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/1.655, allocations: 383.3 kB / 1.381 GB, free: 4.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/1.656, allocations: 464.3 kB / 1.382 GB, free: 3.785 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.656, allocations: 2.781 kB / 1.382 GB, free: 3.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009094/1.657, allocations: 0.542 MB / 1.382 GB, free: 3.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.657, allocations: 15.84 kB / 1.382 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.657, allocations: 9.5 kB / 1.382 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/1.657, allocations: 11.03 kB / 1.382 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/1.657, allocations: 86.94 kB / 1.382 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/1.657, allocations: 13.66 kB / 1.383 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/1.658, allocations: 98.55 kB / 1.383 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/1.658, allocations: 27.14 kB / 1.383 GB, free: 3.504 MB / 1.029 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.0004618/1.659, allocations: 286.1 kB / 1.383 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.659, allocations: 106.9 kB / 1.383 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/1.66, allocations: 424.5 kB / 1.383 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.66, allocations: 2.219 kB / 1.383 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.66, allocations: 0 / 1.383 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.66, allocations: 0 / 1.383 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/1.662, allocations: 1.56 MB / 1.385 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.662, allocations: 9.031 kB / 1.385 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/1.662, allocations: 42.2 kB / 1.385 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.662, allocations: 7.938 kB / 1.385 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.662, allocations: 16.5 kB / 1.385 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.662, allocations: 8.438 kB / 1.385 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.662, allocations: 5.719 kB / 1.385 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/1.663, allocations: 0.5708 MB / 1.386 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/1.663, allocations: 236.1 kB / 1.386 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.664, allocations: 11.31 kB / 1.386 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/1.664, allocations: 18.12 kB / 1.386 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/1.664, allocations: 35.25 kB / 1.386 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.664, allocations: 10.78 kB / 1.386 GB, free: 1.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001032/1.665, allocations: 0.7774 MB / 1.387 GB, free: 1.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.665, allocations: 0 / 1.387 GB, free: 1.184 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001068/1.666, allocations: 284.8 kB / 1.387 GB, free: 1.129 MB / 1.029 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.0007449/1.667, allocations: 345.3 kB / 1.387 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006644/1.668, allocations: 350.1 kB / 1.388 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.668, allocations: 0 / 1.388 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/1.668, allocations: 141 kB / 1.388 GB, free: 0.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.67, allocations: 0.5181 MB / 1.388 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/1.673, allocations: 1.561 MB / 1.39 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/1.673, allocations: 1.066 MB / 1.391 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007046/1.674, allocations: 191.1 kB / 1.391 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.674, allocations: 75.08 kB / 1.391 GB, free: 14.95 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/1.674, allocations: 0 / 1.391 GB, free: 14.95 MB / 1.045 GB Notification: Performance of Templates: time 0.03723/1.711, allocations: 18.84 MB / 1.409 GB, free: 5.832 MB / 1.045 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