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.001292/0.001292, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001464/0.001464, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.694/2.694, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.00196/0.00196, allocations: 62.19 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2032/0.5119, allocations: 150.4 MB / 1.431 GB, free: 3.695 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008988/0.5209, allocations: 5.507 MB / 1.436 GB, free: 14.17 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.5213, allocations: 15.88 kB / 1.436 GB, free: 14.15 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.522, allocations: 198.7 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.5225, allocations: 91.38 kB / 1.437 GB, free: 13.87 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.5241, allocations: 0.5217 MB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.5248, allocations: 414.7 kB / 1.438 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.5251, allocations: 84.23 kB / 1.438 GB, free: 12.85 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.5255, allocations: 207.2 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.5258, allocations: 155.3 kB / 1.438 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.5259, allocations: 16 kB / 1.438 GB, free: 12.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.5267, allocations: 382.9 kB / 1.438 GB, free: 12.1 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.5269, allocations: 67.77 kB / 1.438 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.527, allocations: 87.59 kB / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.5279, allocations: 454.3 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5279, allocations: 3.984 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5279, allocations: 4 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.5279, allocations: 4 kB / 1.439 GB, free: 11.49 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007262/0.5287, allocations: 453.3 kB / 1.439 GB, free: 11.02 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5287, allocations: 12.03 kB / 1.439 GB, free: 11.01 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.145e-05/0.5287, allocations: 8.438 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.5288, allocations: 58.55 kB / 1.439 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.5291, allocations: 43.84 kB / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.5296, allocations: 198.7 kB / 1.44 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.5298, allocations: 242.1 kB / 1.44 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.5298, allocations: 23.94 kB / 1.44 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.5304, allocations: 293.9 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5304, allocations: 0 / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.5304, allocations: 12 kB / 1.44 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5304, allocations: 8 kB / 1.44 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.5307, allocations: 156.6 kB / 1.44 GB, free: 9.863 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.5324, allocations: 1.517 MB / 1.442 GB, free: 8.266 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5325, allocations: 177.1 kB / 1.442 GB, free: 8.082 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.5325, allocations: 80.14 kB / 1.442 GB, free: 8 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.5326, allocations: 75.28 kB / 1.442 GB, free: 7.926 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.5326, allocations: 113.8 kB / 1.442 GB, free: 7.805 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.5326, allocations: 4 kB / 1.442 GB, free: 7.801 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.5327, allocations: 45.56 kB / 1.442 GB, free: 7.75 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.5328, allocations: 130.6 kB / 1.442 GB, free: 7.609 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.5332, allocations: 305.9 kB / 1.443 GB, free: 7.305 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5332, allocations: 25.7 kB / 1.443 GB, free: 7.273 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5334, allocations: 207.5 kB / 1.443 GB, free: 7.066 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.5334, allocations: 0 / 1.443 GB, free: 7.066 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.5335, allocations: 45.69 kB / 1.443 GB, free: 7.016 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5336, allocations: 338.8 kB / 1.443 GB, free: 6.676 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-05/0.5337, allocations: 39.97 kB / 1.443 GB, free: 6.637 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5339, allocations: 159.2 kB / 1.444 GB, free: 6.422 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.5342, allocations: 200.8 kB / 1.444 GB, free: 6.164 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5342, allocations: 0 / 1.444 GB, free: 6.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004881/0.5347, allocations: 217.5 kB / 1.444 GB, free: 5.945 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5347, allocations: 8 kB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5347, allocations: 4 kB / 1.444 GB, free: 5.934 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5347, allocations: 7.938 kB / 1.444 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.5349, allocations: 39.97 kB / 1.444 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5349, allocations: 7.938 kB / 1.444 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5351, allocations: 35.78 kB / 1.444 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.5351, allocations: 8 kB / 1.444 GB, free: 5.836 MB / 1.139 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.0001704/0.5353, allocations: 225.2 kB / 1.444 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.5355, allocations: 128.8 kB / 1.444 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/0.5356, allocations: 125.7 kB / 1.445 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-05/0.5356, allocations: 180.3 kB / 1.445 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001903/0.5358, allocations: 180.2 kB / 1.445 GB, free: 4.973 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-05/0.5359, allocations: 176.3 kB / 1.445 GB, free: 4.793 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.5363, allocations: 444.4 kB / 1.445 GB, free: 4.309 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.5363, allocations: 112.9 kB / 1.446 GB, free: 4.191 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.5364, allocations: 112.9 kB / 1.446 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.622e-05/0.5365, allocations: 180.2 kB / 1.446 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.5366, allocations: 184.3 kB / 1.446 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.59e-05/0.5366, allocations: 180.3 kB / 1.446 GB, free: 3.52 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.789e-05/0.5367, allocations: 184.2 kB / 1.446 GB, free: 3.332 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.5369, allocations: 327.6 kB / 1.447 GB, free: 2.988 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.537, allocations: 128.8 kB / 1.447 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5371, allocations: 176.3 kB / 1.447 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5372, allocations: 108.9 kB / 1.447 GB, free: 2.562 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.5373, allocations: 176.3 kB / 1.447 GB, free: 2.383 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.5374, allocations: 108.9 kB / 1.447 GB, free: 2.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002777/0.5377, allocations: 221.2 kB / 1.448 GB, free: 2.051 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5377, allocations: 0 / 1.448 GB, free: 2.051 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004082/0.5381, allocations: 51.89 kB / 1.448 GB, free: 2 MB / 1.139 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.000639/0.5387, allocations: 0.8515 MB / 1.448 GB, free: 1.117 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.5389, allocations: 80.41 kB / 1.449 GB, free: 1.039 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5389, allocations: 0 / 1.449 GB, free: 1.039 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.5389, allocations: 3.938 kB / 1.449 GB, free: 1.035 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.5395, allocations: 480.1 kB / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.5428, allocations: 2.518 MB / 1.451 GB, free: 13.86 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.5429, allocations: 132.9 kB / 1.452 GB, free: 13.71 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.543, allocations: 33.94 kB / 1.452 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5431, allocations: 51.42 kB / 1.452 GB, free: 13.62 MB / 1.154 GB Notification: Performance of SimCode: time 9.01e-07/0.5431, allocations: 0 / 1.452 GB, free: 13.62 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.5707, allocations: 4.303 MB / 1.456 GB, free: 9.496 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.57, allocations: 13.11 kB / 1.456 GB, free: 9.488 MB / 1.154 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: 19.039144761976786]