Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001295/0.001295, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001445/0.001445, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.769/2.769, allocations: 476.8 MB / 0.7715 GB, free: 3.867 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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001998/0.001998, allocations: 61.67 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2074/0.5715, allocations: 153.6 MB / 1.434 GB, free: 408 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.5825, allocations: 8.639 MB / 1.443 GB, free: 7.734 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.5829, allocations: 11.94 kB / 1.443 GB, free: 7.723 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.5835, allocations: 202.6 kB / 1.443 GB, free: 7.523 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.5838, allocations: 95.31 kB / 1.443 GB, free: 7.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.584, allocations: 63.92 kB / 1.443 GB, free: 7.367 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.5845, allocations: 326.7 kB / 1.443 GB, free: 7.047 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.5849, allocations: 137.3 kB / 1.443 GB, free: 6.91 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.5852, allocations: 183.3 kB / 1.444 GB, free: 6.73 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.5854, allocations: 123.4 kB / 1.444 GB, free: 6.609 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.5854, allocations: 24 kB / 1.444 GB, free: 6.586 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.5855, allocations: 20 kB / 1.444 GB, free: 6.566 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.5856, allocations: 75.75 kB / 1.444 GB, free: 6.492 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.5857, allocations: 99.55 kB / 1.444 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.586, allocations: 302.6 kB / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.586, allocations: 0 / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.262e-06/0.586, allocations: 0 / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.586, allocations: 0 / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005463/0.5866, allocations: 457.6 kB / 1.445 GB, free: 5.621 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5866, allocations: 12.03 kB / 1.445 GB, free: 5.609 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.371e-05/0.5867, allocations: 4.656 kB / 1.445 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.5867, allocations: 70.53 kB / 1.445 GB, free: 5.523 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.5868, allocations: 27.8 kB / 1.445 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.5872, allocations: 216.7 kB / 1.445 GB, free: 5.258 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5872, allocations: 20.66 kB / 1.445 GB, free: 5.238 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.5873, allocations: 31.98 kB / 1.445 GB, free: 5.207 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.5877, allocations: 321.1 kB / 1.445 GB, free: 4.848 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5878, allocations: 4 kB / 1.445 GB, free: 4.844 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.5878, allocations: 12 kB / 1.445 GB, free: 4.832 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.5878, allocations: 7.938 kB / 1.445 GB, free: 4.824 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.5881, allocations: 143.7 kB / 1.445 GB, free: 4.684 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.5895, allocations: 1.726 MB / 1.447 GB, free: 2.871 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5896, allocations: 173.1 kB / 1.447 GB, free: 2.691 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.5897, allocations: 96.05 kB / 1.447 GB, free: 2.594 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.5897, allocations: 75.28 kB / 1.447 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.5898, allocations: 105.8 kB / 1.448 GB, free: 2.406 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5898, allocations: 4.109 kB / 1.448 GB, free: 2.402 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 9.84e-05/0.5899, allocations: 65.44 kB / 1.448 GB, free: 2.332 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.5899, allocations: 126.7 kB / 1.448 GB, free: 2.195 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.5904, allocations: 369.7 kB / 1.448 GB, free: 1.824 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5904, allocations: 25.7 kB / 1.448 GB, free: 1.793 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.5905, allocations: 171.9 kB / 1.448 GB, free: 1.621 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.5905, allocations: 0 / 1.448 GB, free: 1.621 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.5906, allocations: 13.72 kB / 1.448 GB, free: 1.602 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.5908, allocations: 350.7 kB / 1.449 GB, free: 1.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.5908, allocations: 8 kB / 1.449 GB, free: 1.242 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.5908, allocations: 32.3 kB / 1.449 GB, free: 1.195 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.5909, allocations: 44.22 kB / 1.449 GB, free: 1.137 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5909, allocations: 0 / 1.449 GB, free: 1.137 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.5911, allocations: 101.3 kB / 1.449 GB, free: 1.031 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5911, allocations: 8 kB / 1.449 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5911, allocations: 0 / 1.449 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5911, allocations: 0 / 1.449 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.5912, allocations: 8 kB / 1.449 GB, free: 1.016 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5912, allocations: 4 kB / 1.449 GB, free: 1.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.5913, allocations: 23.73 kB / 1.449 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.5913, allocations: 4 kB / 1.449 GB, free: 0.9844 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001643/0.5914, allocations: 221 kB / 1.449 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5915, allocations: 136.9 kB / 1.449 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.5916, allocations: 126.9 kB / 1.449 GB, free: 500 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/0.5917, allocations: 184.2 kB / 1.449 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001233/0.5919, allocations: 176.3 kB / 1.45 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/0.592, allocations: 184.3 kB / 1.45 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.5923, allocations: 452.2 kB / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/0.5924, allocations: 109 kB / 1.45 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.5924, allocations: 104.9 kB / 1.45 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.5925, allocations: 176.3 kB / 1.451 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.5926, allocations: 180.3 kB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-05/0.5926, allocations: 180.2 kB / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.319e-05/0.5927, allocations: 192.2 kB / 1.451 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.5929, allocations: 331.5 kB / 1.451 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.593, allocations: 136.8 kB / 1.452 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5931, allocations: 184.2 kB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5932, allocations: 108.9 kB / 1.452 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.5933, allocations: 184.2 kB / 1.452 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.5933, allocations: 105 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000321/0.5937, allocations: 271.2 kB / 1.452 GB, free: 13.13 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5937, allocations: 0 / 1.452 GB, free: 13.13 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002582/0.5939, allocations: 28 kB / 1.452 GB, free: 13.1 MB / 1.154 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.0005198/0.5944, allocations: 0.8398 MB / 1.453 GB, free: 12.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.5945, allocations: 11.94 kB / 1.453 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5945, allocations: 0 / 1.453 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.5945, allocations: 0 / 1.453 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.5955, allocations: 0.5538 MB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.5988, allocations: 2.703 MB / 1.456 GB, free: 8.863 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.5989, allocations: 142.2 kB / 1.457 GB, free: 8.699 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.599, allocations: 30.97 kB / 1.457 GB, free: 8.668 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5992, allocations: 79.41 kB / 1.457 GB, free: 8.59 MB / 1.154 GB Notification: Performance of SimCode: time 1.222e-06/0.5992, allocations: 0 / 1.457 GB, free: 8.59 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.6271, allocations: 6.489 MB / 1.463 GB, free: 2.379 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.36, allocations: 8.672 kB / 1.463 GB, free: 2.371 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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: 19.118330119992606]