Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001595/0.001595, 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.001905/0.001905, allocations: 218.9 kB / 22.24 MB, free: 5.258 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.793 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.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001982/0.001982, allocations: 68.5 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1857/0.5174, allocations: 150.5 MB / 1.473 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.5243, allocations: 5.523 MB / 1.478 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.5246, allocations: 11.94 kB / 1.478 GB, free: 4.852 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.5253, allocations: 198.7 kB / 1.478 GB, free: 4.656 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.5256, allocations: 95.44 kB / 1.479 GB, free: 4.562 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.527, allocations: 0.5217 MB / 1.479 GB, free: 4.039 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.5276, allocations: 410.7 kB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.5278, allocations: 100.1 kB / 1.48 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.5282, allocations: 187.4 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.5284, allocations: 155.3 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.5285, allocations: 16 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.5292, allocations: 382.9 kB / 1.48 GB, free: 2.805 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.5293, allocations: 75.75 kB / 1.48 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.5294, allocations: 83.59 kB / 1.48 GB, free: 2.648 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.53, allocations: 458.3 kB / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.53, allocations: 0 / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.833e-06/0.53, allocations: 0 / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.53, allocations: 0 / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006346/0.5307, allocations: 461.3 kB / 1.481 GB, free: 1.719 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5307, allocations: 8.031 kB / 1.481 GB, free: 1.711 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.5308, allocations: 62.55 kB / 1.481 GB, free: 1.641 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.531, allocations: 47.84 kB / 1.481 GB, free: 1.594 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.5315, allocations: 202.6 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.5317, allocations: 238.1 kB / 1.482 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.5317, allocations: 20 kB / 1.482 GB, free: 1.066 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.5322, allocations: 293.9 kB / 1.482 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5322, allocations: 4 kB / 1.482 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.5322, allocations: 12 kB / 1.482 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5322, allocations: 8 kB / 1.482 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.5325, allocations: 160.6 kB / 1.482 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.534, allocations: 1.51 MB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5341, allocations: 169.1 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.5341, allocations: 88.17 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.5342, allocations: 75.28 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.5342, allocations: 117.7 kB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.5342, allocations: 0 / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.401e-05/0.5343, allocations: 53.5 kB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5344, allocations: 130.7 kB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.5347, allocations: 313.8 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.5348, allocations: 25.7 kB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5349, allocations: 195.6 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.5349, allocations: 8 kB / 1.485 GB, free: 13.76 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.535, allocations: 41.66 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5351, allocations: 334.8 kB / 1.485 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.5352, allocations: 35.97 kB / 1.485 GB, free: 13.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.5354, allocations: 162.8 kB / 1.485 GB, free: 13.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.5356, allocations: 196.9 kB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5356, allocations: 0 / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004183/0.5361, allocations: 221 kB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5361, allocations: 11.94 kB / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5361, allocations: 7.984 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5361, allocations: 8 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.5363, allocations: 36.55 kB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5363, allocations: 4 kB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.5365, allocations: 39.72 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5365, allocations: 15.94 kB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001526/0.5366, allocations: 213.6 kB / 1.486 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.5367, allocations: 124.8 kB / 1.486 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.5368, allocations: 121.8 kB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-05/0.5369, allocations: 184.3 kB / 1.487 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.426e-05/0.537, allocations: 184.3 kB / 1.487 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-05/0.537, allocations: 180.2 kB / 1.487 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.5373, allocations: 448.2 kB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.5374, allocations: 109 kB / 1.487 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.5374, allocations: 104.9 kB / 1.488 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.116e-05/0.5375, allocations: 184.2 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.5376, allocations: 180.2 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.348e-05/0.5376, allocations: 180.3 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.5377, allocations: 184.2 kB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.5379, allocations: 323.6 kB / 1.489 GB, free: 9.699 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.538, allocations: 136.7 kB / 1.489 GB, free: 9.559 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.5381, allocations: 176.3 kB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5382, allocations: 109 kB / 1.489 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.5383, allocations: 184.2 kB / 1.489 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.5383, allocations: 105 kB / 1.489 GB, free: 8.969 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002452/0.5386, allocations: 217.2 kB / 1.489 GB, free: 8.758 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5386, allocations: 0 / 1.489 GB, free: 8.758 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003674/0.539, allocations: 59.83 kB / 1.489 GB, free: 8.699 MB / 1.186 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.0005786/0.5395, allocations: 0.8669 MB / 1.49 GB, free: 7.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.5397, allocations: 79.77 kB / 1.49 GB, free: 7.723 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5397, allocations: 0 / 1.49 GB, free: 7.723 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.5398, allocations: 1.25 kB / 1.49 GB, free: 7.723 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.5403, allocations: 492 kB / 1.491 GB, free: 7.238 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.543, allocations: 2.492 MB / 1.493 GB, free: 4.555 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.5431, allocations: 132.9 kB / 1.493 GB, free: 4.402 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.5432, allocations: 37.94 kB / 1.493 GB, free: 4.367 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.5433, allocations: 51.42 kB / 1.494 GB, free: 4.316 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5433, allocations: 0 / 1.494 GB, free: 4.316 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.5745, allocations: 4.681 MB / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.59, allocations: 16.69 kB / 1.498 GB, free: 15.78 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.474777338997228]