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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001027/0.001027, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00119/0.00119, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 11.98 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8969, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.081/1.978, allocations: 227.4 MB / 1.244 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02745/2.006, allocations: 20.71 MB / 1.265 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/2.008, allocations: 54.75 kB / 1.265 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/2.011, allocations: 0.6378 MB / 1.265 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004489/2.016, allocations: 1.159 MB / 1.266 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/2.022, allocations: 1.353 MB / 1.268 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005346/2.027, allocations: 2.979 MB / 1.271 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/2.029, allocations: 0.8978 MB / 1.272 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/2.032, allocations: 1.054 MB / 1.273 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/2.034, allocations: 0.81 MB / 1.273 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/2.035, allocations: 35.45 kB / 1.273 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/2.038, allocations: 0.9065 MB / 1.274 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/2.039, allocations: 273.4 kB / 1.275 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008367/2.04, allocations: 264.1 kB / 1.275 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/2.043, allocations: 1.579 MB / 1.276 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.043, allocations: 0 / 1.276 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/2.043, allocations: 0 / 1.276 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.726e-05/2.043, allocations: 1.219 kB / 1.276 GB, free: 7.016 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.003924/2.047, allocations: 1.231 MB / 1.278 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.047, allocations: 9.719 kB / 1.278 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/2.048, allocations: 234.8 kB / 1.278 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/2.05, allocations: 0.8218 MB / 1.279 GB, free: 21.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/2.05, allocations: 186.3 kB / 1.279 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/2.051, allocations: 88.12 kB / 1.279 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/2.053, allocations: 0.9281 MB / 1.28 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/2.053, allocations: 6.953 kB / 1.28 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/2.053, allocations: 35.56 kB / 1.28 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/2.053, allocations: 21.75 kB / 1.28 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/2.055, allocations: 0.6236 MB / 1.28 GB, free: 21.61 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.005129/2.06, allocations: 4.446 MB / 1.285 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/2.06, allocations: 188.9 kB / 1.285 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/2.06, allocations: 139.9 kB / 1.285 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/2.061, allocations: 1.019 MB / 1.286 GB, free: 17.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/2.061, allocations: 37.67 kB / 1.286 GB, free: 17.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/2.061, allocations: 3.938 kB / 1.286 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0009525/2.062, allocations: 465.4 kB / 1.287 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/2.062, allocations: 60.88 kB / 1.287 GB, free: 17.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/2.063, allocations: 1.098 MB / 1.288 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/2.063, allocations: 35.08 kB / 1.288 GB, free: 17.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/2.064, allocations: 0.5076 MB / 1.288 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/2.064, allocations: 84.11 kB / 1.288 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/2.064, allocations: 10.19 kB / 1.288 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/2.064, allocations: 320.9 kB / 1.289 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/2.064, allocations: 125 kB / 1.289 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/2.065, allocations: 388.2 kB / 1.289 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/2.065, allocations: 184.8 kB / 1.289 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/2.065, allocations: 6.641 kB / 1.289 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008119/2.066, allocations: 0.5352 MB / 1.29 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/2.066, allocations: 7.281 kB / 1.29 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/2.066, allocations: 7.875 kB / 1.29 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/2.066, allocations: 8.594 kB / 1.29 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/2.066, allocations: 96.53 kB / 1.29 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/2.066, allocations: 10.91 kB / 1.29 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/2.067, allocations: 127.5 kB / 1.29 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/2.067, allocations: 27.55 kB / 1.29 GB, free: 16.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000394/2.067, allocations: 284.9 kB / 1.29 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/2.068, allocations: 107.2 kB / 1.29 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/2.068, allocations: 424 kB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/2.068, allocations: 4.422 kB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.068, allocations: 2.625 kB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/2.068, allocations: 3.234 kB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/2.07, allocations: 1.543 MB / 1.292 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/2.07, allocations: 2.969 kB / 1.292 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/2.07, allocations: 42.78 kB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/2.071, allocations: 12.25 kB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/2.071, allocations: 9.781 kB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/2.071, allocations: 11.2 kB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/2.071, allocations: 6.188 kB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/2.071, allocations: 0.5661 MB / 1.293 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/2.071, allocations: 247.5 kB / 1.293 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/2.072, allocations: 9.219 kB / 1.293 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/2.072, allocations: 32.91 kB / 1.293 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/2.072, allocations: 35.33 kB / 1.293 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/2.072, allocations: 20.98 kB / 1.293 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000902/2.073, allocations: 0.7631 MB / 1.294 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.073, allocations: 0 / 1.294 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009255/2.074, allocations: 290.5 kB / 1.294 GB, free: 14.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005276/2.074, allocations: 318 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004946/2.075, allocations: 331.1 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/2.075, allocations: 1.812 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/2.075, allocations: 139 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/2.077, allocations: 488.4 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/2.079, allocations: 1.815 MB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/2.08, allocations: 1.062 MB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000767/2.081, allocations: 198.8 kB / 1.299 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/2.081, allocations: 68.75 kB / 1.299 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/2.081, allocations: 0 / 1.299 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.02823/2.109, allocations: 16.86 MB / 1.315 GB, free: 10.6 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