Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.0008452/0.0008452, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008546/0.0008546, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8661/0.8661, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.552e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002021/0.002036, allocations: 1.455 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005602/0.002597, allocations: 447.4 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.002645, allocations: 0 / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.002669, allocations: 3.938 kB / 0.9523 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.002708, allocations: 0 / 0.9523 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.002911, allocations: 27.84 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.003, allocations: 31.86 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.003083, allocations: 4 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.00319, allocations: 15.98 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.003231, allocations: 15.92 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003244, allocations: 4 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.003281, allocations: 7.984 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.003291, allocations: 4 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.003308, allocations: 3.984 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.003403, allocations: 35.84 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003405, allocations: 0 / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003406, allocations: 4 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.00341, allocations: 7.875 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003305/0.00374, allocations: 262.2 kB / 0.9527 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.003784, allocations: 8.031 kB / 0.9527 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.003816, allocations: 34.75 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.003929, allocations: 8.922 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.004091, allocations: 117.7 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004102, allocations: 4.375 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.004117, allocations: 4.375 kB / 0.9529 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.004235, allocations: 46.25 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004244, allocations: 192 / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.004253, allocations: 4.125 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004258, allocations: 3.984 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.004315, allocations: 19.98 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.004579, allocations: 220 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.004648, allocations: 30.56 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.00469, allocations: 20.86 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.004707, allocations: 4 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.004732, allocations: 30.56 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004733, allocations: 0 / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.004938, allocations: 69.55 kB / 0.9533 GB, free: 400 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.004969, allocations: 51.41 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.005039, allocations: 109.8 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.005054, allocations: 25.7 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.005095, allocations: 84.09 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.005112, allocations: 8.078 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.005144, allocations: 21.7 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.005244, allocations: 310.8 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.005277, allocations: 12 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.005301, allocations: 7.984 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.005358, allocations: 24.84 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00536, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.506e-05/0.005455, allocations: 57.56 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005468, allocations: 10.75 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005472, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.005485, allocations: 4 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.005543, allocations: 7.984 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.005547, allocations: 0 / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.005562, allocations: 0 / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005567, allocations: 0 / 0.954 GB, free: 15.62 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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 4.918e-05/0.005616, allocations: 113.8 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.005629, allocations: 3.938 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.005648, allocations: 11.61 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005649, allocations: 7.938 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005652, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005654, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.748e-05/0.005752, allocations: 136.6 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005754, allocations: 7.938 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.005772, allocations: 8 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.005773, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.005779, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00578, allocations: 3.938 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00578, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.037e-05/0.005871, allocations: 147.5 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.005877, allocations: 7.938 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.005885, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.005915, allocations: 7.938 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.005938, allocations: 3.984 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.00594, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.005974, allocations: 83.59 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005974, allocations: 4 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001424/0.006117, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0002509/0.006368, allocations: 0.6928 MB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.00645, allocations: 19.98 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006452, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.006472, allocations: 11.98 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006624, allocations: 4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.007383, allocations: 1.218 MB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.007422, allocations: 67.28 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.007443, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.007478, allocations: 16.5 kB / 0.9565 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.007478, allocations: 0 / 0.9565 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.02242, allocations: 1.877 MB / 0.9584 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.008, allocations: 12.03 kB / 0.9584 GB, free: 11.11 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 10.90685725864023]