Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.8 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.36 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.325/0.6746, allocations: 254.2 MB / 1.532 GB, free: 12.57 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03571/0.7103, allocations: 22.63 MB / 1.554 GB, free: 5.871 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.7123, allocations: 71.38 kB / 1.555 GB, free: 5.801 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.7156, allocations: 0.9976 MB / 1.555 GB, free: 4.797 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.7208, allocations: 1.525 MB / 1.557 GB, free: 3.266 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.727, allocations: 2.035 MB / 1.559 GB, free: 1.234 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004988/0.732, allocations: 2.713 MB / 1.562 GB, free: 14.51 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.7343, allocations: 0.9657 MB / 1.563 GB, free: 13.51 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.7377, allocations: 1.386 MB / 1.564 GB, free: 12.12 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.7399, allocations: 0.9572 MB / 1.565 GB, free: 11.16 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.7402, allocations: 108 kB / 1.565 GB, free: 11.05 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005469/0.7457, allocations: 1.867 MB / 1.567 GB, free: 9.18 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.7466, allocations: 386.7 kB / 1.567 GB, free: 8.801 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.748, allocations: 0.6298 MB / 1.568 GB, free: 8.168 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.7533, allocations: 2.367 MB / 1.57 GB, free: 5.793 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7533, allocations: 0 / 1.57 GB, free: 5.793 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7533, allocations: 0 / 1.57 GB, free: 5.793 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.509e-05/0.7534, allocations: 0 / 1.57 GB, free: 5.793 MB / 1.264 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.003588/0.757, allocations: 1.434 MB / 1.571 GB, free: 4.324 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.757, allocations: 8.031 kB / 1.571 GB, free: 4.316 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.732e-05/0.7571, allocations: 26 kB / 1.571 GB, free: 4.289 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.7574, allocations: 151.5 kB / 1.572 GB, free: 4.133 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.7587, allocations: 227 kB / 1.572 GB, free: 3.91 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.7606, allocations: 0.8403 MB / 1.573 GB, free: 3.047 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.7608, allocations: 291.5 kB / 1.573 GB, free: 2.711 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.761, allocations: 92 kB / 1.573 GB, free: 2.621 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.7628, allocations: 0.9285 MB / 1.574 GB, free: 1.66 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.7628, allocations: 7.938 kB / 1.574 GB, free: 1.652 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/0.7629, allocations: 36 kB / 1.574 GB, free: 1.617 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.7629, allocations: 20 kB / 1.574 GB, free: 1.598 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.7642, allocations: 0.6324 MB / 1.575 GB, free: 0.9609 MB / 1.264 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.005839/0.7701, allocations: 4.375 MB / 1.579 GB, free: 12.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.7705, allocations: 178.7 kB / 1.579 GB, free: 12.01 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.7707, allocations: 144.8 kB / 1.579 GB, free: 11.87 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.7713, allocations: 123.9 kB / 1.579 GB, free: 11.75 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.7714, allocations: 42.5 kB / 1.579 GB, free: 11.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 2.976e-06/0.7714, allocations: 0 / 1.579 GB, free: 11.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001281/0.7727, allocations: 471.5 kB / 1.58 GB, free: 11.23 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.7727, allocations: 55.41 kB / 1.58 GB, free: 11.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.7745, allocations: 1.102 MB / 1.581 GB, free: 10.05 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.7746, allocations: 37.64 kB / 1.581 GB, free: 10 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.7751, allocations: 0.5204 MB / 1.581 GB, free: 9.48 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.7752, allocations: 91.22 kB / 1.582 GB, free: 9.391 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.7754, allocations: 94.08 kB / 1.582 GB, free: 9.293 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7756, allocations: 322 kB / 1.582 GB, free: 8.973 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.7759, allocations: 128.7 kB / 1.582 GB, free: 8.848 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.7764, allocations: 383.2 kB / 1.582 GB, free: 8.363 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.7771, allocations: 479.5 kB / 1.583 GB, free: 7.809 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7771, allocations: 0 / 1.583 GB, free: 7.809 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001176/0.7783, allocations: 0.5434 MB / 1.583 GB, free: 7.258 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.7783, allocations: 8 kB / 1.583 GB, free: 7.25 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.7784, allocations: 11.98 kB / 1.583 GB, free: 7.238 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.7784, allocations: 12 kB / 1.583 GB, free: 7.227 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.7788, allocations: 88.53 kB / 1.584 GB, free: 7.141 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.7788, allocations: 11.98 kB / 1.584 GB, free: 7.129 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.7797, allocations: 111.2 kB / 1.584 GB, free: 7.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.7798, allocations: 24 kB / 1.584 GB, free: 6.996 MB / 1.279 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.0005178/0.7803, allocations: 279 kB / 1.584 GB, free: 6.715 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.7805, allocations: 107.3 kB / 1.584 GB, free: 6.609 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/0.7815, allocations: 440.2 kB / 1.584 GB, free: 6.168 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.7815, allocations: 4 kB / 1.585 GB, free: 6.164 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7815, allocations: 0 / 1.585 GB, free: 6.164 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7815, allocations: 0 / 1.585 GB, free: 6.164 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.7842, allocations: 1.53 MB / 1.586 GB, free: 4.531 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7842, allocations: 4 kB / 1.586 GB, free: 4.527 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.7844, allocations: 39.92 kB / 1.586 GB, free: 4.488 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7844, allocations: 11.94 kB / 1.586 GB, free: 4.477 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.7845, allocations: 8 kB / 1.586 GB, free: 4.469 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.7845, allocations: 11.94 kB / 1.586 GB, free: 4.457 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.7845, allocations: 7.984 kB / 1.586 GB, free: 4.449 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.7853, allocations: 0.588 MB / 1.587 GB, free: 3.793 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.7858, allocations: 163.2 kB / 1.587 GB, free: 3.633 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.786, allocations: 8 kB / 1.587 GB, free: 3.625 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.7865, allocations: 19.98 kB / 1.587 GB, free: 3.605 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7865, allocations: 31.84 kB / 1.587 GB, free: 3.574 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.7866, allocations: 12 kB / 1.587 GB, free: 3.562 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001229/0.7878, allocations: 0.7822 MB / 1.588 GB, free: 2.773 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.7878, allocations: 0 / 1.588 GB, free: 2.773 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001136/0.7889, allocations: 287.4 kB / 1.588 GB, free: 2.492 MB / 1.279 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.001689/0.7906, allocations: 1.333 MB / 1.589 GB, free: 1.086 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007834/0.7914, allocations: 343.8 kB / 1.59 GB, free: 0.75 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7914, allocations: 0 / 1.59 GB, free: 0.75 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.7917, allocations: 138.1 kB / 1.59 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.7944, allocations: 0.5189 MB / 1.59 GB, free: 104 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8064, allocations: 7.434 MB / 1.597 GB, free: 8.25 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/0.8073, allocations: 1.063 MB / 1.598 GB, free: 7.16 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007874/0.8081, allocations: 198.9 kB / 1.599 GB, free: 6.969 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.8087, allocations: 363.3 kB / 1.599 GB, free: 6.613 MB / 1.295 GB Notification: Performance of SimCode: time 8.92e-07/0.8087, allocations: 0 / 1.599 GB, free: 6.613 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6792/1.488, allocations: 28.47 MB / 1.627 GB, free: 315.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/15.02, allocations: 8.438 kB / 1.627 GB, free: 315.6 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.893560590979178]