Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001765/0.001765, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002149/0.002149, allocations: 218.6 kB / 22.25 MB, free: 5.254 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.InletToAirDryAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",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.002075/0.002075, allocations: 65.83 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1684/0.5097, allocations: 130.7 MB / 1.454 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005681/0.5154, allocations: 4.345 MB / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.5157, allocations: 15.88 kB / 1.458 GB, free: 9.883 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.5164, allocations: 178.8 kB / 1.458 GB, free: 9.707 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.5168, allocations: 87.44 kB / 1.458 GB, free: 9.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.5169, allocations: 63.92 kB / 1.458 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.5173, allocations: 294.8 kB / 1.458 GB, free: 9.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.5176, allocations: 79.45 kB / 1.458 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.5178, allocations: 107.5 kB / 1.459 GB, free: 9.086 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.518, allocations: 135.5 kB / 1.459 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.518, allocations: 8 kB / 1.459 GB, free: 8.945 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.518, allocations: 12 kB / 1.459 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.5181, allocations: 27.86 kB / 1.459 GB, free: 8.906 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.5182, allocations: 63.69 kB / 1.459 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.5184, allocations: 167.2 kB / 1.459 GB, free: 8.68 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5184, allocations: 0 / 1.459 GB, free: 8.68 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5184, allocations: 0 / 1.459 GB, free: 8.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5184, allocations: 0 / 1.459 GB, free: 8.68 MB / 1.154 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.0004702/0.5189, allocations: 373.6 kB / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5189, allocations: 8.031 kB / 1.459 GB, free: 8.277 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.519, allocations: 54.73 kB / 1.459 GB, free: 8.215 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.519, allocations: 16.84 kB / 1.459 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.5194, allocations: 190.7 kB / 1.46 GB, free: 7.988 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5194, allocations: 20.11 kB / 1.46 GB, free: 7.969 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.5194, allocations: 16 kB / 1.46 GB, free: 7.953 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.5197, allocations: 212.8 kB / 1.46 GB, free: 7.699 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5198, allocations: 0 / 1.46 GB, free: 7.699 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.5198, allocations: 8 kB / 1.46 GB, free: 7.691 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5198, allocations: 4 kB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.5199, allocations: 75.78 kB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5212, allocations: 1.528 MB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5213, allocations: 169.1 kB / 1.462 GB, free: 5.82 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.5213, allocations: 80.14 kB / 1.462 GB, free: 5.738 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.5214, allocations: 83.22 kB / 1.462 GB, free: 5.656 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.5214, allocations: 109.8 kB / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5214, allocations: 0 / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.033e-05/0.5215, allocations: 45.55 kB / 1.462 GB, free: 5.488 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.5216, allocations: 126.7 kB / 1.462 GB, free: 5.352 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.5218, allocations: 253.8 kB / 1.462 GB, free: 5.094 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5219, allocations: 25.7 kB / 1.462 GB, free: 5.062 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.522, allocations: 147.9 kB / 1.462 GB, free: 4.914 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.522, allocations: 0 / 1.462 GB, free: 4.914 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.522, allocations: 21.7 kB / 1.462 GB, free: 4.887 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5222, allocations: 334.8 kB / 1.463 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.5222, allocations: 8 kB / 1.463 GB, free: 4.543 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.5222, allocations: 50 kB / 1.463 GB, free: 4.473 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.5223, allocations: 61.92 kB / 1.463 GB, free: 4.391 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5223, allocations: 3.938 kB / 1.463 GB, free: 4.387 MB / 1.154 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001698/0.5225, allocations: 85.47 kB / 1.463 GB, free: 4.297 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5225, allocations: 7.984 kB / 1.463 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5225, allocations: 4 kB / 1.463 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.5225, allocations: 0 / 1.463 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.5226, allocations: 20.16 kB / 1.463 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5226, allocations: 4 kB / 1.463 GB, free: 4.262 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.5227, allocations: 15.84 kB / 1.463 GB, free: 4.246 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5227, allocations: 8 kB / 1.463 GB, free: 4.238 MB / 1.154 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.0001583/0.5229, allocations: 207.3 kB / 1.463 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.523, allocations: 132.8 kB / 1.463 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.5231, allocations: 117.8 kB / 1.463 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-05/0.5232, allocations: 188.2 kB / 1.464 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.652e-05/0.5233, allocations: 176.3 kB / 1.464 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/0.5234, allocations: 180.3 kB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.5238, allocations: 428.1 kB / 1.464 GB, free: 2.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.5238, allocations: 105 kB / 1.464 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.5239, allocations: 108.9 kB / 1.465 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.133e-05/0.524, allocations: 180.3 kB / 1.465 GB, free: 2.336 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/0.524, allocations: 176.3 kB / 1.465 GB, free: 2.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.7e-05/0.5241, allocations: 184.4 kB / 1.465 GB, free: 1.969 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.5242, allocations: 180.2 kB / 1.465 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.5244, allocations: 327.6 kB / 1.466 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.5245, allocations: 120.9 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5246, allocations: 192.2 kB / 1.466 GB, free: 1.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5247, allocations: 101 kB / 1.466 GB, free: 1.016 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.5248, allocations: 184.2 kB / 1.466 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.5249, allocations: 109 kB / 1.466 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001758/0.525, allocations: 181.2 kB / 1.466 GB, free: 0.543 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.525, allocations: 0 / 1.466 GB, free: 0.543 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002818/0.5253, allocations: 23.95 kB / 1.466 GB, free: 0.5195 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.0005942/0.5259, allocations: 0.8242 MB / 1.467 GB, free: 15.67 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.526, allocations: 23.88 kB / 1.467 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.526, allocations: 448 / 1.467 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.526, allocations: 4 kB / 1.467 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.5268, allocations: 0.4937 MB / 1.468 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.5291, allocations: 2.057 MB / 1.47 GB, free: 12.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.5292, allocations: 96.14 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.5293, allocations: 21.64 kB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.5294, allocations: 47.42 kB / 1.47 GB, free: 12.78 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/0.5294, allocations: 3.938 kB / 1.47 GB, free: 12.78 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.5615, allocations: 4.308 MB / 1.474 GB, free: 8.641 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.94, allocations: 10.62 kB / 1.474 GB, free: 8.637 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.583319470024435]