Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.000744/0.000744, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001768, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006959/0.0006959, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001614, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9199/0.9199, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09843/1.018, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.839/1.839, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4345/2.273, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 1.094 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.787e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.011/0.01102, allocations: 15.44 MB / 0.7444 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.02574, allocations: 13.05 MB / 0.7572 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.02802, allocations: 170.6 kB / 0.7573 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.02948, allocations: 0.7724 MB / 0.7581 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006482/0.03597, allocations: 3.504 MB / 0.7615 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.03846, allocations: 1.316 MB / 0.7628 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007043/0.04551, allocations: 6.327 MB / 0.769 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.04892, allocations: 2.78 MB / 0.7717 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/0.05428, allocations: 4.16 MB / 0.7757 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.05682, allocations: 2.199 MB / 0.7779 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.05727, allocations: 370.6 kB / 0.7782 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.05807, allocations: 435.9 kB / 0.7787 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008075/0.05887, allocations: 1.032 MB / 0.7797 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.06018, allocations: 1.131 MB / 0.7808 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.06295, allocations: 2.861 MB / 0.7836 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.06297, allocations: 0 / 0.7836 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/0.06297, allocations: 0 / 0.7836 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.967e-05/0.06305, allocations: 0.5312 kB / 0.7836 GB, free: 12.84 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.005935/0.06898, allocations: 5.11 MB / 0.7886 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.06902, allocations: 8.031 kB / 0.7886 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/0.07569, allocations: 2.097 MB / 0.7906 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.07828, allocations: 1.889 MB / 0.7925 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.07855, allocations: 466.3 kB / 0.7929 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.0789, allocations: 244.4 kB / 0.7931 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.08285, allocations: 3.25 MB / 0.7963 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.08289, allocations: 0 / 0.7963 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.08321, allocations: 104 kB / 0.7964 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.08338, allocations: 172.8 kB / 0.7966 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.08511, allocations: 0.9821 MB / 0.7975 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008719/0.09383, allocations: 5.779 MB / 0.8032 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.09673, allocations: 1.615 MB / 0.8048 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.09729, allocations: 379.7 kB / 0.8051 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.09738, allocations: 37.28 kB / 0.8052 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.09857, allocations: 1.525 MB / 0.8066 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=163): time 4.338e-06/0.09857, allocations: 4 kB / 0.8066 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of matching and sorting (n=163): time 0.007088/0.1057, allocations: 3.353 MB / 0.8099 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1057, allocations: 80.66 kB / 0.81 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1068, allocations: 1.691 MB / 0.8116 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-05/0.1069, allocations: 61.64 kB / 0.8117 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.1073, allocations: 1.039 MB / 0.8127 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.1076, allocations: 0.5575 MB / 0.8133 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.1079, allocations: 299.3 kB / 0.8136 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.108, allocations: 305.1 kB / 0.8138 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.1084, allocations: 412.4 kB / 0.8142 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.109, allocations: 1.064 MB / 0.8153 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.1099, allocations: 1.035 MB / 0.8163 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1099, allocations: 4 kB / 0.8163 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002421/0.1123, allocations: 1.925 MB / 0.8182 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.1124, allocations: 152.5 kB / 0.8183 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1124, allocations: 4 kB / 0.8183 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.1149, allocations: 1.233 MB / 0.8195 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.1158, allocations: 359.5 kB / 0.8199 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006787/0.1226, allocations: 4.854 MB / 0.8246 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.1235, allocations: 254.8 kB / 0.8248 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.1236, allocations: 55.98 kB / 0.8249 GB, free: 1.078 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0004373/0.1241, allocations: 218.3 kB / 0.8251 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.1243, allocations: 231.7 kB / 0.8253 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1246, allocations: 290.3 kB / 0.8256 GB, free: 348 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1246, allocations: 16 kB / 0.8256 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1246, allocations: 3.938 kB / 0.8256 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1246, allocations: 15.97 kB / 0.8256 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.126, allocations: 1.206 MB / 0.8268 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.126, allocations: 0 / 0.8268 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.1267, allocations: 263.6 kB / 0.8271 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.1271, allocations: 365.8 kB / 0.8274 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.1297, allocations: 1.191 MB / 0.8286 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.1297, allocations: 43.89 kB / 0.8286 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006622/0.1364, allocations: 4.606 MB / 0.8331 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1364, allocations: 0 / 0.8331 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.1386, allocations: 1.542 MB / 0.8346 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.1388, allocations: 39.92 kB / 0.8347 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.1395, allocations: 143.8 kB / 0.8348 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.1398, allocations: 225.6 kB / 0.835 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.1399, allocations: 35.97 kB / 0.8351 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006037/0.1405, allocations: 0.9 MB / 0.8359 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.1405, allocations: 4 kB / 0.8359 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001436/0.142, allocations: 0.963 MB / 0.8369 GB, free: 4.633 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.1422, allocations: 128.8 kB / 0.837 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003607/0.1458, allocations: 2.27 MB / 0.8392 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.245e-05/0.1458, allocations: 36.48 kB / 0.8393 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.1483, allocations: 1.424 MB / 0.8406 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.1504, allocations: 1.263 MB / 0.8419 GB, free: 15.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/0.172, allocations: 5.006 MB / 0.8468 GB, free: 10.35 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.1725, allocations: 0.6616 MB / 0.8474 GB, free: 9.664 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001173/0.1737, allocations: 336.5 kB / 0.8477 GB, free: 9.332 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.1751, allocations: 0.8152 MB / 0.8485 GB, free: 8.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.863e-06/0.1751, allocations: 0 / 0.8485 GB, free: 8.5 MB / 0.823 GB Notification: Performance of Templates: time 0.0629/0.238, allocations: 60.55 MB / 0.9077 GB, free: 13.25 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.089809196069837]