Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00174/0.00174, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002124/0.002124, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.794/2.794, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.945e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003898/0.003928, allocations: 1.447 MB / 0.9828 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.005179, allocations: 435 kB / 0.9833 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.005242, allocations: 0 / 0.9833 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.005272, allocations: 3.938 kB / 0.9833 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.005331, allocations: 4 kB / 0.9833 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.0056, allocations: 27.8 kB / 0.9833 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.005736, allocations: 31.84 kB / 0.9833 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00584, allocations: 4 kB / 0.9833 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.006001, allocations: 19.92 kB / 0.9833 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.006064, allocations: 19.92 kB / 0.9834 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.006085, allocations: 4 kB / 0.9834 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.006136, allocations: 4 kB / 0.9834 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.006151, allocations: 3.984 kB / 0.9834 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.006185, allocations: 15.92 kB / 0.9834 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.006308, allocations: 23.91 kB / 0.9834 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.006314, allocations: 4 kB / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006315, allocations: 0 / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.006318, allocations: 0 / 0.9834 GB, free: 8.883 MB / 0.8887 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.0004922/0.006811, allocations: 266.2 kB / 0.9837 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.006858, allocations: 12.03 kB / 0.9837 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.007051, allocations: 12.92 kB / 0.9837 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.007282, allocations: 121.7 kB / 0.9838 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.007293, allocations: 384 / 0.9838 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.007303, allocations: 384 / 0.9838 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.00747, allocations: 42.25 kB / 0.9839 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.007478, allocations: 192 / 0.9839 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.00749, allocations: 384 / 0.9839 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.007498, allocations: 3.938 kB / 0.9839 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.007623, allocations: 23.92 kB / 0.9839 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.007989, allocations: 200.6 kB / 0.9841 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.008112, allocations: 30.58 kB / 0.9841 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.008198, allocations: 12.91 kB / 0.9841 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.008217, allocations: 7.938 kB / 0.9841 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.008258, allocations: 38.5 kB / 0.9842 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.00826, allocations: 3.938 kB / 0.9842 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.008597, allocations: 57.77 kB / 0.9842 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.00865, allocations: 55.44 kB / 0.9843 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008774, allocations: 105.8 kB / 0.9844 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.008804, allocations: 29.7 kB / 0.9844 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.008873, allocations: 84.14 kB / 0.9845 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.008898, allocations: 7.891 kB / 0.9845 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.008944, allocations: 13.72 kB / 0.9845 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.009127, allocations: 318.8 kB / 0.9848 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.009191, allocations: 8 kB / 0.9848 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.009302, allocations: 11.98 kB / 0.9848 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.009421, allocations: 32.84 kB / 0.9849 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009423, allocations: 0 / 0.9849 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.009608, allocations: 57.58 kB / 0.9849 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.009627, allocations: 10.12 kB / 0.9849 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009632, allocations: 0 / 0.9849 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.009647, allocations: 0 / 0.9849 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.009735, allocations: 11.97 kB / 0.9849 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.00974, allocations: 4 kB / 0.9849 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.009785, allocations: 4.031 kB / 0.9849 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.009792, allocations: 0 / 0.9849 GB, free: 7.156 MB / 0.8887 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 0.0001111/0.009903, allocations: 109.8 kB / 0.985 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.009947, allocations: 3.938 kB / 0.985 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.009974, allocations: 11.62 kB / 0.9851 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.009976, allocations: 0 / 0.9851 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.00998, allocations: 0 / 0.9851 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.009986, allocations: 7.922 kB / 0.9851 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.01019, allocations: 101.3 kB / 0.9852 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01019, allocations: 0 / 0.9852 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.01025, allocations: 11.98 kB / 0.9852 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.01026, allocations: 4 kB / 0.9852 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01027, allocations: 3.938 kB / 0.9852 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01027, allocations: 0 / 0.9852 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01027, allocations: 0 / 0.9852 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01056, allocations: 147.4 kB / 0.9853 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.01057, allocations: 7.984 kB / 0.9853 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01059, allocations: 3.938 kB / 0.9853 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.0107, allocations: 4 kB / 0.9853 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.01074, allocations: 4 kB / 0.9853 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01074, allocations: 8.031 kB / 0.9853 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.01081, allocations: 83.27 kB / 0.9854 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01081, allocations: 0 / 0.9854 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004051/0.01122, allocations: 4 kB / 0.9854 GB, free: 6.594 MB / 0.8887 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.0001386/0.01136, allocations: 103.2 kB / 0.9855 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.01153, allocations: 23.98 kB / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01153, allocations: 0 / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.0116, allocations: 12.05 kB / 0.9856 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.01197, allocations: 4 kB / 0.9856 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.01233, allocations: 128.7 kB / 0.9857 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.173e-05/0.01241, allocations: 63.25 kB / 0.9857 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.01244, allocations: 4 kB / 0.9858 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.01248, allocations: 8.5 kB / 0.9858 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/0.01248, allocations: 0 / 0.9858 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of Templates: time 0.003375/0.01585, allocations: 327.3 kB / 0.9861 GB, free: 5.883 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.962179750204086]