Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001504/0.001504, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001695/0.001695, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.754 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.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.002037/0.002037, allocations: 67.59 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003496/0.3792, allocations: 1.735 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.3794, allocations: 83.67 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.3795, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.3796, allocations: 11.86 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.3796, allocations: 15.81 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.3797, allocations: 39.95 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3799, allocations: 107.7 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3801, allocations: 45.2 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.3801, allocations: 43.86 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.3802, allocations: 47.77 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3802, allocations: 12 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.3803, allocations: 12 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.3803, allocations: 27.91 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.3803, allocations: 35.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3805, allocations: 119.4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3805, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3805, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.3805, allocations: 3.984 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006942/0.3812, allocations: 357.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3813, allocations: 8.031 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.3813, allocations: 4.188 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.3813, allocations: 38.75 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.3814, allocations: 12.89 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3816, allocations: 150.3 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3816, allocations: 8.375 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3816, allocations: 4.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.382, allocations: 131.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.382, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.382, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.382, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.3825, allocations: 123.9 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.383, allocations: 323.6 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.3834, allocations: 98.44 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.3836, allocations: 60.92 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3836, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3836, allocations: 30.56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3836, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007702/0.3844, allocations: 197.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3845, allocations: 59.34 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3846, allocations: 123.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3846, allocations: 29.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3847, allocations: 115.9 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3847, allocations: 15.86 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3847, allocations: 21.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3849, allocations: 318.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3851, allocations: 51.94 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3853, allocations: 47.94 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.3857, allocations: 108.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3857, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004752/0.3862, allocations: 145.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3862, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3862, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3862, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3864, allocations: 27.97 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3864, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3865, allocations: 23.91 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3865, allocations: 7.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.104e-05/0.3866, allocations: 116.6 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3867, allocations: 7.953 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3867, allocations: 24.73 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3867, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3867, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3867, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.3869, allocations: 164.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3869, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3871, allocations: 35.97 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3871, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3871, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3871, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3871, allocations: 3.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.3876, allocations: 239.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.3876, allocations: 11.95 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3877, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3878, allocations: 15.97 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3879, allocations: 11.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3879, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.882e-05/0.3879, allocations: 95.27 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3879, allocations: 3.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002403/0.3882, allocations: 27.89 kB / 1.332 GB, free: 11.54 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0008483/0.389, allocations: 0.7747 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3895, allocations: 111.9 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3895, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3897, allocations: 59.88 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3901, allocations: 11.98 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3925, allocations: 1.594 MB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.3926, allocations: 84.19 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.3926, allocations: 3.984 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.3927, allocations: 27.44 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3927, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.4155, allocations: 2.485 MB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 21.02 kB / 1.337 GB, free: 6.402 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.05378984892741]