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.001784/0.001784, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002244/0.002244, allocations: 215 kB / 20.13 MB, free: 2.949 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.755/2.755, allocations: 476.7 MB / 0.7679 GB, free: 9.496 MB / 0.6075 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.002012/0.002012, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9/0.902, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2593/1.161, allocations: 173.9 MB / 1.449 GB, free: 14.05 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008536/1.17, allocations: 6.048 MB / 1.455 GB, free: 7.984 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/1.17, allocations: 7.938 kB / 1.455 GB, free: 7.977 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/1.171, allocations: 198.6 kB / 1.455 GB, free: 7.781 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004061/1.171, allocations: 91.44 kB / 1.455 GB, free: 7.691 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/1.173, allocations: 0.5372 MB / 1.455 GB, free: 7.152 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006007/1.174, allocations: 410.7 kB / 1.456 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/1.174, allocations: 107.6 kB / 1.456 GB, free: 6.641 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/1.174, allocations: 191.2 kB / 1.456 GB, free: 6.453 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/1.174, allocations: 155.4 kB / 1.456 GB, free: 6.301 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/1.174, allocations: 16 kB / 1.456 GB, free: 6.285 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009224/1.175, allocations: 0.4909 MB / 1.457 GB, free: 5.793 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/1.175, allocations: 79.73 kB / 1.457 GB, free: 5.715 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/1.176, allocations: 107.5 kB / 1.457 GB, free: 5.609 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007119/1.176, allocations: 476.1 kB / 1.457 GB, free: 5.145 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.176, allocations: 3.938 kB / 1.457 GB, free: 5.141 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.178e-06/1.176, allocations: 3.984 kB / 1.457 GB, free: 5.137 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.834e-06/1.176, allocations: 0 / 1.457 GB, free: 5.137 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.000726/1.177, allocations: 0.5258 MB / 1.458 GB, free: 4.562 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.177, allocations: 8.031 kB / 1.458 GB, free: 4.555 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/1.177, allocations: 8.438 kB / 1.458 GB, free: 4.547 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.337e-05/1.177, allocations: 66.55 kB / 1.458 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/1.177, allocations: 39.84 kB / 1.458 GB, free: 4.434 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/1.178, allocations: 254.7 kB / 1.458 GB, free: 4.145 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/1.178, allocations: 139.4 kB / 1.458 GB, free: 3.984 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/1.178, allocations: 27.94 kB / 1.458 GB, free: 3.957 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/1.179, allocations: 298.7 kB / 1.459 GB, free: 3.629 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.179, allocations: 0 / 1.459 GB, free: 3.629 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.179, allocations: 8 kB / 1.459 GB, free: 3.621 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/1.179, allocations: 4 kB / 1.459 GB, free: 3.617 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/1.179, allocations: 164.6 kB / 1.459 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/1.18, allocations: 1.579 MB / 1.46 GB, free: 1.789 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/1.18, allocations: 181.1 kB / 1.461 GB, free: 1.602 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/1.181, allocations: 80.14 kB / 1.461 GB, free: 1.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.181, allocations: 75.28 kB / 1.461 GB, free: 1.445 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/1.181, allocations: 113.8 kB / 1.461 GB, free: 1.324 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.181, allocations: 0 / 1.461 GB, free: 1.324 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.000101/1.181, allocations: 49.56 kB / 1.461 GB, free: 1.27 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.181, allocations: 130.6 kB / 1.461 GB, free: 1.129 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/1.181, allocations: 314.6 kB / 1.461 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.181, allocations: 25.7 kB / 1.461 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.181, allocations: 191.7 kB / 1.462 GB, free: 0.582 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-06/1.181, allocations: 3.984 kB / 1.462 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/1.181, allocations: 45.66 kB / 1.462 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.182, allocations: 330.8 kB / 1.462 GB, free: 200 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/1.182, allocations: 39.97 kB / 1.462 GB, free: 160 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/1.182, allocations: 159.4 kB / 1.462 GB, free: 15.94 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/1.182, allocations: 200.9 kB / 1.462 GB, free: 15.68 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.182, allocations: 4 kB / 1.462 GB, free: 15.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004552/1.183, allocations: 217 kB / 1.462 GB, free: 15.46 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.183, allocations: 4 kB / 1.462 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.183, allocations: 4.625 kB / 1.462 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.183, allocations: 12 kB / 1.463 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.183, allocations: 35.92 kB / 1.463 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.183, allocations: 15.92 kB / 1.463 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/1.183, allocations: 27.78 kB / 1.463 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/1.183, allocations: 15.94 kB / 1.463 GB, free: 15.35 MB / 1.154 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.0001597/1.183, allocations: 223.2 kB / 1.463 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/1.183, allocations: 128.8 kB / 1.463 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/1.183, allocations: 125.8 kB / 1.463 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-05/1.183, allocations: 184.2 kB / 1.463 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.553e-05/1.184, allocations: 180.2 kB / 1.463 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/1.184, allocations: 176.3 kB / 1.464 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/1.184, allocations: 485.2 kB / 1.464 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.937e-05/1.184, allocations: 112.9 kB / 1.464 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/1.184, allocations: 112.9 kB / 1.464 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.695e-05/1.184, allocations: 180.2 kB / 1.464 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/1.184, allocations: 176.3 kB / 1.465 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.593e-05/1.184, allocations: 180.3 kB / 1.465 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.833e-05/1.184, allocations: 188.2 kB / 1.465 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/1.185, allocations: 331.6 kB / 1.465 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.185, allocations: 201.9 kB / 1.465 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.185, allocations: 184.3 kB / 1.466 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.185, allocations: 104.9 kB / 1.466 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/1.185, allocations: 180.2 kB / 1.466 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/1.185, allocations: 112.9 kB / 1.466 GB, free: 11.64 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002662/1.185, allocations: 213.9 kB / 1.466 GB, free: 11.43 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 1.466 GB, free: 11.43 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003887/1.186, allocations: 55.89 kB / 1.466 GB, free: 11.38 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.0006652/1.186, allocations: 0.8559 MB / 1.467 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002279/1.187, allocations: 84.58 kB / 1.467 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.187, allocations: 0 / 1.467 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/1.187, allocations: 0 / 1.467 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/1.187, allocations: 483.1 kB / 1.468 GB, free: 9.934 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/1.19, allocations: 2.526 MB / 1.47 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/1.191, allocations: 0.7398 MB / 1.471 GB, free: 6.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001366/1.191, allocations: 33.94 kB / 1.471 GB, free: 6.418 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/1.191, allocations: 55.42 kB / 1.471 GB, free: 6.363 MB / 1.154 GB Notification: Performance of SimCode: time 7.81e-07/1.191, allocations: 3.938 kB / 1.471 GB, free: 6.359 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/1.214, allocations: 4.092 MB / 1.475 GB, free: 2.379 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/9.726, allocations: 3.984 kB / 1.475 GB, free: 2.375 MB / 1.154 GB " [Timeout remaining time 290] (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: 15.852076409966685]