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.0009728/0.0009728, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006261/0.006261, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.652/2.652, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 15.98 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7345, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9865/1.721, allocations: 243.4 MB / 1.261 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03235/1.753, allocations: 22 MB / 1.282 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/1.757, allocations: 47.09 kB / 1.282 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/1.761, allocations: 0.7858 MB / 1.283 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/1.766, allocations: 1.393 MB / 1.284 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006421/1.773, allocations: 1.771 MB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00594/1.779, allocations: 3.526 MB / 1.29 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/1.781, allocations: 1.09 MB / 1.291 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/1.783, allocations: 1.129 MB / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/1.785, allocations: 0.8552 MB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/1.785, allocations: 37.48 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/1.789, allocations: 1.862 MB / 1.294 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/1.789, allocations: 292.2 kB / 1.295 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008104/1.79, allocations: 0.5625 MB / 1.295 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/1.793, allocations: 2.258 MB / 1.297 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.793, allocations: 2.734 kB / 1.297 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.793, allocations: 0 / 1.297 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.649e-05/1.793, allocations: 0 / 1.297 GB, free: 17.2 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.001629/1.795, allocations: 1.227 MB / 1.299 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.795, allocations: 12 kB / 1.299 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.796, allocations: 235.6 kB / 1.299 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/1.797, allocations: 0.8449 MB / 1.3 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/1.797, allocations: 183.7 kB / 1.3 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.797, allocations: 90.62 kB / 1.3 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.799, allocations: 0.9311 MB / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/1.799, allocations: 0 / 1.301 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/1.799, allocations: 41.66 kB / 1.301 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.799, allocations: 19.62 kB / 1.301 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009999/1.8, allocations: 0.6376 MB / 1.302 GB, free: 15.75 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.004077/1.804, allocations: 4.454 MB / 1.306 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/1.804, allocations: 182.1 kB / 1.306 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/1.804, allocations: 148 kB / 1.306 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009986/1.805, allocations: 1.019 MB / 1.307 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.805, allocations: 46.88 kB / 1.307 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/1.805, allocations: 4 kB / 1.307 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.000955/1.806, allocations: 460.4 kB / 1.308 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.806, allocations: 58.22 kB / 1.308 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/1.808, allocations: 1.107 MB / 1.309 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.808, allocations: 32.52 kB / 1.309 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.808, allocations: 0.5081 MB / 1.309 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/1.808, allocations: 93.12 kB / 1.309 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/1.808, allocations: 38.66 kB / 1.309 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.809, allocations: 325.8 kB / 1.31 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.809, allocations: 124 kB / 1.31 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/1.809, allocations: 383.3 kB / 1.31 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/1.81, allocations: 470.7 kB / 1.311 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.81, allocations: 0 / 1.311 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009074/1.811, allocations: 0.5373 MB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.811, allocations: 11.06 kB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.811, allocations: 5.844 kB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.811, allocations: 8.625 kB / 1.311 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/1.811, allocations: 91.81 kB / 1.311 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/1.811, allocations: 15.62 kB / 1.311 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/1.812, allocations: 140.2 kB / 1.311 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/1.812, allocations: 28.08 kB / 1.312 GB, free: 10.19 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.0003705/1.812, allocations: 280.2 kB / 1.312 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.813, allocations: 99.31 kB / 1.312 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/1.813, allocations: 433 kB / 1.312 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.813, allocations: 2.906 kB / 1.312 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.813, allocations: 3.938 kB / 1.312 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.813, allocations: 288 / 1.312 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/1.815, allocations: 1.549 MB / 1.314 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.815, allocations: 3.547 kB / 1.314 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.816, allocations: 38.86 kB / 1.314 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.816, allocations: 10.42 kB / 1.314 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.816, allocations: 12.69 kB / 1.314 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/1.816, allocations: 14.2 kB / 1.314 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.816, allocations: 5.188 kB / 1.314 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/1.816, allocations: 0.5759 MB / 1.314 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/1.817, allocations: 247.6 kB / 1.315 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.817, allocations: 16.83 kB / 1.315 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/1.817, allocations: 28.67 kB / 1.315 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/1.817, allocations: 30.84 kB / 1.315 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/1.817, allocations: 16.23 kB / 1.315 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001014/1.818, allocations: 0.7774 MB / 1.316 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.818, allocations: 4 kB / 1.316 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009392/1.819, allocations: 281.7 kB / 1.316 GB, free: 8.805 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.0006858/1.82, allocations: 337.2 kB / 1.316 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000542/1.82, allocations: 339.2 kB / 1.316 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.82, allocations: 1.781 kB / 1.316 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.821, allocations: 143.2 kB / 1.317 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.824, allocations: 0.524 MB / 1.317 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/1.826, allocations: 1.916 MB / 1.319 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/1.827, allocations: 1.063 MB / 1.32 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007495/1.828, allocations: 198.6 kB / 1.32 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.828, allocations: 74.25 kB / 1.32 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.828, allocations: 0 / 1.32 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of Templates: time 0.03693/1.865, allocations: 19.47 MB / 1.339 GB, free: 0.9453 MB / 0.9981 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/jenkins/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