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.001426/0.001426, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001477/0.001477, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.184/3.184, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.002049/0.002049, allocations: 74.92 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1933/0.5422, allocations: 173.9 MB / 1.491 GB, free: 4.805 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007589/0.5498, allocations: 6.044 MB / 1.496 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.5501, allocations: 19.81 kB / 1.497 GB, free: 14.72 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.5507, allocations: 194.8 kB / 1.497 GB, free: 14.53 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.551, allocations: 91.38 kB / 1.497 GB, free: 14.44 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.5523, allocations: 0.5333 MB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.5529, allocations: 410.7 kB / 1.498 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.5531, allocations: 103.6 kB / 1.498 GB, free: 13.4 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.5535, allocations: 199.3 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.5537, allocations: 155.3 kB / 1.498 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.5538, allocations: 16 kB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.5547, allocations: 498.7 kB / 1.499 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.5548, allocations: 75.73 kB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.5549, allocations: 99.48 kB / 1.499 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.5556, allocations: 482.2 kB / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5556, allocations: 0 / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5556, allocations: 0 / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5557, allocations: 4 kB / 1.499 GB, free: 11.9 MB / 1.201 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.0007008/0.5564, allocations: 0.5219 MB / 1.5 GB, free: 11.33 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5564, allocations: 11.98 kB / 1.5 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.5565, allocations: 62.53 kB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.5567, allocations: 43.84 kB / 1.5 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.5571, allocations: 266.5 kB / 1.5 GB, free: 10.9 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5572, allocations: 135.4 kB / 1.5 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.5573, allocations: 20 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.5578, allocations: 298.7 kB / 1.501 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5578, allocations: 0 / 1.501 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.5578, allocations: 12 kB / 1.501 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5578, allocations: 8 kB / 1.501 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.5581, allocations: 160.6 kB / 1.501 GB, free: 10.22 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5597, allocations: 1.587 MB / 1.502 GB, free: 8.543 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.5598, allocations: 165.1 kB / 1.502 GB, free: 8.371 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.5598, allocations: 80.14 kB / 1.503 GB, free: 8.289 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.5599, allocations: 75.28 kB / 1.503 GB, free: 8.215 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.5599, allocations: 117.7 kB / 1.503 GB, free: 8.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5599, allocations: 4 kB / 1.503 GB, free: 8.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.000103/0.56, allocations: 49.5 kB / 1.503 GB, free: 8.031 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.5601, allocations: 130.7 kB / 1.503 GB, free: 7.891 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.5605, allocations: 310.6 kB / 1.503 GB, free: 7.578 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.5605, allocations: 25.7 kB / 1.503 GB, free: 7.547 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.5606, allocations: 199.7 kB / 1.503 GB, free: 7.348 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.5607, allocations: 4 kB / 1.503 GB, free: 7.344 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.5607, allocations: 45.66 kB / 1.503 GB, free: 7.293 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5609, allocations: 330.8 kB / 1.504 GB, free: 6.961 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.561, allocations: 35.97 kB / 1.504 GB, free: 6.926 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5612, allocations: 163 kB / 1.504 GB, free: 6.707 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.5614, allocations: 204.9 kB / 1.504 GB, free: 6.445 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5614, allocations: 0 / 1.504 GB, free: 6.445 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004494/0.5619, allocations: 221.5 kB / 1.504 GB, free: 6.223 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5619, allocations: 11.94 kB / 1.504 GB, free: 6.211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5619, allocations: 4 kB / 1.504 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5619, allocations: 4 kB / 1.504 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5621, allocations: 43.92 kB / 1.504 GB, free: 6.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.5621, allocations: 4 kB / 1.504 GB, free: 6.156 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5623, allocations: 39.61 kB / 1.504 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.5623, allocations: 15.98 kB / 1.504 GB, free: 6.102 MB / 1.201 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.0001578/0.5624, allocations: 218.8 kB / 1.505 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.5625, allocations: 128.8 kB / 1.505 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.5626, allocations: 121.7 kB / 1.505 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.5627, allocations: 192.1 kB / 1.505 GB, free: 5.422 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.949e-05/0.5628, allocations: 176.3 kB / 1.505 GB, free: 5.242 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/0.5628, allocations: 188.2 kB / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.5632, allocations: 481.1 kB / 1.506 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.5632, allocations: 101 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.5633, allocations: 104.9 kB / 1.506 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.5634, allocations: 184.2 kB / 1.506 GB, free: 4.121 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.5634, allocations: 188.2 kB / 1.506 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.5635, allocations: 184.3 kB / 1.507 GB, free: 3.742 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.44e-05/0.5636, allocations: 176.3 kB / 1.507 GB, free: 3.562 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.5638, allocations: 327.6 kB / 1.507 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5639, allocations: 209.9 kB / 1.507 GB, free: 2.988 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.564, allocations: 176.3 kB / 1.507 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.5642, allocations: 105 kB / 1.508 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.5642, allocations: 184.2 kB / 1.508 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.5643, allocations: 101 kB / 1.508 GB, free: 2.406 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002654/0.5645, allocations: 225.9 kB / 1.508 GB, free: 2.188 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5645, allocations: 0 / 1.508 GB, free: 2.188 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003838/0.5649, allocations: 55.83 kB / 1.508 GB, free: 2.133 MB / 1.201 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.0005659/0.5655, allocations: 0.8631 MB / 1.509 GB, free: 1.238 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5657, allocations: 75.78 kB / 1.509 GB, free: 1.164 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5657, allocations: 4 kB / 1.509 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.5657, allocations: 1.25 kB / 1.509 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.5663, allocations: 484.1 kB / 1.509 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.5691, allocations: 2.499 MB / 1.512 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5695, allocations: 0.7359 MB / 1.513 GB, free: 13.23 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.5697, allocations: 33.94 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5698, allocations: 59.41 kB / 1.513 GB, free: 13.14 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/0.5698, allocations: 3.938 kB / 1.513 GB, free: 13.13 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.598, allocations: 4.056 MB / 1.517 GB, free: 9.172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.584, allocations: 0 / 1.517 GB, free: 9.172 MB / 1.217 GB " [Timeout remaining time 291] (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: 15.221486454131082]