Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002278/0.002278, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.131/3.131, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") [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.002362/0.002362, allocations: 68.62 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4934, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.2095/0.7029, allocations: 130.7 MB / 1.411 GB, free: 8.699 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0074/0.7103, allocations: 4.357 MB / 1.415 GB, free: 4.332 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.7109, allocations: 11.94 kB / 1.415 GB, free: 4.32 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.7118, allocations: 166.8 kB / 1.415 GB, free: 4.156 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0006234/0.7124, allocations: 91.5 kB / 1.415 GB, free: 4.066 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.7127, allocations: 67.84 kB / 1.415 GB, free: 4 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.7133, allocations: 282.9 kB / 1.416 GB, free: 3.723 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.7136, allocations: 75.17 kB / 1.416 GB, free: 3.645 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.714, allocations: 111.5 kB / 1.416 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.7143, allocations: 131.4 kB / 1.416 GB, free: 3.406 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.7143, allocations: 12 kB / 1.416 GB, free: 3.395 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.7143, allocations: 12 kB / 1.416 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.7144, allocations: 31.84 kB / 1.416 GB, free: 3.352 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.7145, allocations: 63.73 kB / 1.416 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.7147, allocations: 159.2 kB / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7147, allocations: 0 / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7148, allocations: 0 / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.7148, allocations: 0 / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006184/0.7154, allocations: 373.6 kB / 1.416 GB, free: 2.738 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7154, allocations: 15.91 kB / 1.416 GB, free: 2.723 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.7155, allocations: 20.84 kB / 1.416 GB, free: 2.703 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.716, allocations: 194.7 kB / 1.417 GB, free: 2.488 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.716, allocations: 8.375 kB / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.7161, allocations: 23.92 kB / 1.417 GB, free: 2.457 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.7164, allocations: 206.1 kB / 1.417 GB, free: 2.211 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.7165, allocations: 7.938 kB / 1.417 GB, free: 2.203 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.7165, allocations: 4 kB / 1.417 GB, free: 2.199 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.7165, allocations: 12 kB / 1.417 GB, free: 2.188 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.7167, allocations: 67.78 kB / 1.417 GB, free: 2.121 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.7181, allocations: 1.463 MB / 1.418 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.7183, allocations: 173.1 kB / 1.419 GB, free: 408 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.7183, allocations: 84.08 kB / 1.419 GB, free: 320 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.7184, allocations: 79.22 kB / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/0.7185, allocations: 105.8 kB / 1.419 GB, free: 124 kB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.7185, allocations: 0 / 1.419 GB, free: 124 kB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0001193/0.7186, allocations: 41.64 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7187, allocations: 130.7 kB / 1.419 GB, free: 15.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.7189, allocations: 167.9 kB / 1.419 GB, free: 15.76 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7189, allocations: 25.7 kB / 1.419 GB, free: 15.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.7191, allocations: 163.5 kB / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.7191, allocations: 3.984 kB / 1.419 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.7191, allocations: 17.72 kB / 1.419 GB, free: 15.54 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7193, allocations: 322.8 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.7193, allocations: 7.938 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.7194, allocations: 46.02 kB / 1.42 GB, free: 15.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.7195, allocations: 65.94 kB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7195, allocations: 0 / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002312/0.7197, allocations: 89.38 kB / 1.42 GB, free: 14.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7197, allocations: 12.22 kB / 1.42 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7197, allocations: 0 / 1.42 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.7198, allocations: 8 kB / 1.42 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.7199, allocations: 8 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.7199, allocations: 7.984 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.7199, allocations: 7.953 kB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.7199, allocations: 4 kB / 1.42 GB, free: 14.91 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001756/0.7201, allocations: 201 kB / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.7202, allocations: 116.9 kB / 1.42 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.7203, allocations: 121.4 kB / 1.42 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/0.7204, allocations: 180.3 kB / 1.421 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.45e-05/0.7205, allocations: 184.2 kB / 1.421 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/0.7206, allocations: 184.2 kB / 1.421 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.7209, allocations: 392.8 kB / 1.421 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.492e-05/0.721, allocations: 104.9 kB / 1.421 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.7211, allocations: 105 kB / 1.421 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.915e-05/0.7212, allocations: 188.2 kB / 1.422 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.7213, allocations: 180.2 kB / 1.422 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001017/0.7214, allocations: 176.4 kB / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.65e-05/0.7215, allocations: 184.2 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.7217, allocations: 312 kB / 1.422 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.7218, allocations: 124.8 kB / 1.423 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.7219, allocations: 176.3 kB / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.722, allocations: 108.9 kB / 1.423 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.7221, allocations: 180.2 kB / 1.423 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.7221, allocations: 105 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001251/0.7222, allocations: 120 kB / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.7222, allocations: 0 / 1.423 GB, free: 11.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002908/0.7225, allocations: 43.72 kB / 1.423 GB, free: 11.31 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000167/0.7227, allocations: 166.5 kB / 1.423 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.7228, allocations: 23.92 kB / 1.423 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7228, allocations: 0 / 1.423 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.7228, allocations: 4 kB / 1.423 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.7233, allocations: 465.6 kB / 1.424 GB, free: 10.65 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.724, allocations: 310.6 kB / 1.424 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.7242, allocations: 103.9 kB / 1.424 GB, free: 10.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.7242, allocations: 8.422 kB / 1.424 GB, free: 10.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.7243, allocations: 11.44 kB / 1.424 GB, free: 10.18 MB / 1.123 GB Notification: Performance of SimCode: time 7.41e-07/0.7243, allocations: 3.938 kB / 1.424 GB, free: 10.18 MB / 1.123 GB Notification: Performance of Templates: time 0.004121/0.7284, allocations: 0.4946 MB / 1.425 GB, free: 9.691 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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: 10.81877294369042]