Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0018/0.0018, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002427/0.002427, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.738/2.738, allocations: 476.7 MB / 0.7714 GB, free: 4.242 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.AirToOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001995/0.001995, allocations: 61.22 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2129/0.5124, allocations: 174.1 MB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007964/0.5204, allocations: 6.11 MB / 1.46 GB, free: 6.883 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.5208, allocations: 15.94 kB / 1.46 GB, free: 6.867 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.5215, allocations: 186.7 kB / 1.46 GB, free: 6.684 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.5219, allocations: 95.36 kB / 1.46 GB, free: 6.59 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.5234, allocations: 0.5489 MB / 1.461 GB, free: 6.039 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.5241, allocations: 414.7 kB / 1.461 GB, free: 5.633 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.5244, allocations: 88.22 kB / 1.461 GB, free: 5.539 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.5248, allocations: 195.2 kB / 1.462 GB, free: 5.348 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.5251, allocations: 163.3 kB / 1.462 GB, free: 5.188 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.5252, allocations: 19.94 kB / 1.462 GB, free: 5.168 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.5261, allocations: 0.4987 MB / 1.462 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5262, allocations: 71.77 kB / 1.462 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.5264, allocations: 107.5 kB / 1.462 GB, free: 4.492 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.5272, allocations: 478.2 kB / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5272, allocations: 0 / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5272, allocations: 4 kB / 1.463 GB, free: 4.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5273, allocations: 0 / 1.463 GB, free: 4.02 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007255/0.528, allocations: 461.3 kB / 1.463 GB, free: 3.539 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.528, allocations: 12.03 kB / 1.463 GB, free: 3.527 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.308e-05/0.528, allocations: 4.438 kB / 1.463 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.5281, allocations: 62.53 kB / 1.463 GB, free: 3.453 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.5284, allocations: 43.84 kB / 1.463 GB, free: 3.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.5288, allocations: 208.7 kB / 1.464 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.529, allocations: 238.1 kB / 1.464 GB, free: 2.898 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.5291, allocations: 27.88 kB / 1.464 GB, free: 2.871 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.5295, allocations: 286 kB / 1.464 GB, free: 2.551 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5295, allocations: 3.984 kB / 1.464 GB, free: 2.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.5296, allocations: 12 kB / 1.464 GB, free: 2.535 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5296, allocations: 8 kB / 1.464 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.5299, allocations: 156.6 kB / 1.464 GB, free: 2.375 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.5315, allocations: 1.545 MB / 1.466 GB, free: 0.75 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5316, allocations: 177.1 kB / 1.466 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.5317, allocations: 80.14 kB / 1.466 GB, free: 496 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.5317, allocations: 75.28 kB / 1.466 GB, free: 420 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.5318, allocations: 125.7 kB / 1.466 GB, free: 284 kB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.5318, allocations: 0 / 1.466 GB, free: 284 kB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001095/0.5319, allocations: 45.56 kB / 1.466 GB, free: 232 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.5319, allocations: 126.7 kB / 1.466 GB, free: 92 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.5324, allocations: 309.8 kB / 1.467 GB, free: 15.78 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.5324, allocations: 25.7 kB / 1.467 GB, free: 15.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.5325, allocations: 195.6 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.5325, allocations: 8 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.5326, allocations: 45.66 kB / 1.467 GB, free: 15.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5327, allocations: 326.8 kB / 1.467 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.5328, allocations: 35.97 kB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.533, allocations: 165.1 kB / 1.468 GB, free: 14.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.5333, allocations: 196.9 kB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5333, allocations: 0 / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004527/0.5337, allocations: 225.5 kB / 1.468 GB, free: 14.43 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5338, allocations: 8 kB / 1.468 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5338, allocations: 7.984 kB / 1.468 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.5338, allocations: 11.94 kB / 1.468 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.534, allocations: 39.92 kB / 1.468 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.534, allocations: 4 kB / 1.468 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.5342, allocations: 39.67 kB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.5342, allocations: 8 kB / 1.468 GB, free: 14.31 MB / 1.17 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.0001642/0.5344, allocations: 225 kB / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.5344, allocations: 124.8 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.5345, allocations: 121.8 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/0.5346, allocations: 180.2 kB / 1.469 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-05/0.5347, allocations: 184.3 kB / 1.469 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.337e-05/0.5347, allocations: 180.4 kB / 1.469 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.5351, allocations: 464.2 kB / 1.469 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/0.5352, allocations: 101 kB / 1.47 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.5352, allocations: 108.9 kB / 1.47 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.5353, allocations: 184.3 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.5354, allocations: 176.3 kB / 1.47 GB, free: 12.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.447e-05/0.5354, allocations: 180.2 kB / 1.47 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.992e-05/0.5355, allocations: 184.2 kB / 1.47 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.5357, allocations: 323.6 kB / 1.471 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5358, allocations: 132.8 kB / 1.471 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.5359, allocations: 180.3 kB / 1.471 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.536, allocations: 109 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.5361, allocations: 180.2 kB / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.5361, allocations: 105 kB / 1.471 GB, free: 10.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00026/0.5364, allocations: 217.2 kB / 1.472 GB, free: 10.53 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5364, allocations: 0 / 1.472 GB, free: 10.53 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004019/0.5368, allocations: 55.89 kB / 1.472 GB, free: 10.47 MB / 1.17 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.0006063/0.5374, allocations: 0.8554 MB / 1.472 GB, free: 9.586 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.5376, allocations: 83.77 kB / 1.472 GB, free: 9.504 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5376, allocations: 0 / 1.472 GB, free: 9.504 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.5376, allocations: 0 / 1.472 GB, free: 9.504 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.5382, allocations: 487.4 kB / 1.473 GB, free: 9.027 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.5411, allocations: 2.521 MB / 1.475 GB, free: 6.316 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.5414, allocations: 0.7359 MB / 1.476 GB, free: 5.555 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.5416, allocations: 33.94 kB / 1.476 GB, free: 5.523 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.5416, allocations: 59.42 kB / 1.476 GB, free: 5.465 MB / 1.17 GB Notification: Performance of SimCode: time 4.71e-07/0.5416, allocations: 0 / 1.476 GB, free: 5.465 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.5671, allocations: 4.268 MB / 1.48 GB, free: 1.348 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.1, allocations: 9.719 kB / 1.48 GB, free: 1.34 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.70553081401158]