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.001815/0.001815, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002283/0.002283, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.973 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.74/2.74, allocations: 476.7 MB / 0.7707 GB, free: 4.227 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_11_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.002031/0.002031, allocations: 65.89 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2027/0.5034, allocations: 174.1 MB / 1.453 GB, free: 12.94 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.5114, allocations: 6.111 MB / 1.459 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.5117, allocations: 15.88 kB / 1.459 GB, free: 6.793 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.5124, allocations: 198.7 kB / 1.46 GB, free: 6.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.5128, allocations: 83.44 kB / 1.46 GB, free: 6.516 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.5142, allocations: 0.5528 MB / 1.46 GB, free: 5.961 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.5148, allocations: 414.7 kB / 1.461 GB, free: 5.555 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.515, allocations: 88.22 kB / 1.461 GB, free: 5.461 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.5154, allocations: 195.3 kB / 1.461 GB, free: 5.27 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.5157, allocations: 159.3 kB / 1.461 GB, free: 5.113 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.5157, allocations: 16 kB / 1.461 GB, free: 5.098 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009114/0.5166, allocations: 0.5065 MB / 1.462 GB, free: 4.59 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.5167, allocations: 71.75 kB / 1.462 GB, free: 4.52 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.5168, allocations: 107.5 kB / 1.462 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007645/0.5176, allocations: 478.3 kB / 1.462 GB, free: 3.945 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5176, allocations: 0 / 1.462 GB, free: 3.945 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5176, allocations: 0 / 1.462 GB, free: 3.945 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5176, allocations: 4 kB / 1.462 GB, free: 3.941 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.0006535/0.5183, allocations: 453.3 kB / 1.463 GB, free: 3.469 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5183, allocations: 12.03 kB / 1.463 GB, free: 3.457 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/0.5184, allocations: 66.47 kB / 1.463 GB, free: 3.383 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.5187, allocations: 39.84 kB / 1.463 GB, free: 3.344 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.5191, allocations: 203.4 kB / 1.463 GB, free: 3.121 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.5193, allocations: 238.1 kB / 1.463 GB, free: 2.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.5193, allocations: 27.92 kB / 1.463 GB, free: 2.812 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.5198, allocations: 297.9 kB / 1.463 GB, free: 2.484 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5198, allocations: 3.938 kB / 1.463 GB, free: 2.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.5198, allocations: 12 kB / 1.463 GB, free: 2.469 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5198, allocations: 8 kB / 1.463 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.5201, allocations: 152.6 kB / 1.464 GB, free: 2.312 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.5217, allocations: 1.552 MB / 1.465 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.5218, allocations: 173.1 kB / 1.465 GB, free: 0.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.5219, allocations: 88.14 kB / 1.465 GB, free: 420 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.5219, allocations: 75.28 kB / 1.465 GB, free: 344 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.522, allocations: 117.8 kB / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.522, allocations: 0 / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001159/0.5221, allocations: 45.56 kB / 1.466 GB, free: 164 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.5222, allocations: 126.7 kB / 1.466 GB, free: 24 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.5226, allocations: 313.8 kB / 1.466 GB, free: 15.71 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5226, allocations: 25.7 kB / 1.466 GB, free: 15.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.5228, allocations: 191.7 kB / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.5228, allocations: 7.906 kB / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.5229, allocations: 45.66 kB / 1.466 GB, free: 15.43 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.523, allocations: 330.8 kB / 1.467 GB, free: 15.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.5232, allocations: 39.97 kB / 1.467 GB, free: 15.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.5233, allocations: 161.1 kB / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.5236, allocations: 196.9 kB / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5236, allocations: 0 / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000432/0.524, allocations: 221.5 kB / 1.467 GB, free: 14.36 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5241, allocations: 11.94 kB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5241, allocations: 4 kB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5241, allocations: 4 kB / 1.467 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5242, allocations: 39.92 kB / 1.467 GB, free: 14.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5242, allocations: 7.938 kB / 1.467 GB, free: 14.3 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5244, allocations: 39.67 kB / 1.467 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.5245, allocations: 8 kB / 1.467 GB, free: 14.25 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.0001639/0.5246, allocations: 221.2 kB / 1.467 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.5247, allocations: 128.8 kB / 1.468 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.5248, allocations: 125.7 kB / 1.468 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/0.5249, allocations: 176.3 kB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.14e-05/0.525, allocations: 180.2 kB / 1.468 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-05/0.525, allocations: 184.3 kB / 1.468 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.5254, allocations: 464.2 kB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/0.5254, allocations: 104.9 kB / 1.469 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.5255, allocations: 101 kB / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.591e-05/0.5256, allocations: 180.2 kB / 1.469 GB, free: 12.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.5256, allocations: 188.1 kB / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.974e-05/0.5257, allocations: 184.2 kB / 1.469 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.923e-05/0.5258, allocations: 180.2 kB / 1.47 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.526, allocations: 319.7 kB / 1.47 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.5261, allocations: 132.8 kB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5262, allocations: 184.2 kB / 1.47 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.5263, allocations: 112.9 kB / 1.47 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.5264, allocations: 176.3 kB / 1.47 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.5265, allocations: 101 kB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002572/0.5267, allocations: 217.2 kB / 1.471 GB, free: 10.46 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5267, allocations: 3.938 kB / 1.471 GB, free: 10.46 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003928/0.5271, allocations: 59.83 kB / 1.471 GB, free: 10.4 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.0005805/0.5277, allocations: 0.8593 MB / 1.472 GB, free: 9.512 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5279, allocations: 75.77 kB / 1.472 GB, free: 9.438 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5279, allocations: 0 / 1.472 GB, free: 9.438 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.5279, allocations: 4 kB / 1.472 GB, free: 9.434 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.5285, allocations: 489.4 kB / 1.472 GB, free: 8.953 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.5314, allocations: 2.504 MB / 1.475 GB, free: 6.258 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.5317, allocations: 0.7437 MB / 1.475 GB, free: 5.488 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.5319, allocations: 41.81 kB / 1.475 GB, free: 5.449 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.532, allocations: 51.42 kB / 1.475 GB, free: 5.398 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/0.532, allocations: 0 / 1.475 GB, free: 5.398 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.5639, allocations: 4.247 MB / 1.48 GB, free: 1.293 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.97, allocations: 1.5 kB / 1.48 GB, free: 1.293 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.424842010019347]