Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001187/0.001187, allocations: 71.75 kB / 20.97 MB, free: 3.57 MB / 18.57 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.001209/0.001209, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9546/0.9546, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.808/1.808, allocations: 359 MB / 0.6055 GB, free: 10.97 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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.309e-05, allocations: 6.594 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01813/0.01815, allocations: 22.8 MB / 0.8094 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.03685, allocations: 17.82 MB / 0.8268 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.03958, allocations: 174.6 kB / 0.827 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005694/0.04527, allocations: 4.283 MB / 0.8311 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.05439, allocations: 3.697 MB / 0.8348 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.05718, allocations: 1.318 MB / 0.836 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006974/0.06416, allocations: 5.949 MB / 0.8418 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.06779, allocations: 2.853 MB / 0.8446 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00617/0.07396, allocations: 3.715 MB / 0.8483 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.07695, allocations: 2.018 MB / 0.8502 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.07762, allocations: 368 kB / 0.8506 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.07922, allocations: 0.9706 MB / 0.8515 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.08011, allocations: 1.285 MB / 0.8528 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.08179, allocations: 1.383 MB / 0.8541 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.086, allocations: 3.383 MB / 0.8574 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.086, allocations: 0 / 0.8574 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.472e-06/0.08601, allocations: 0 / 0.8574 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.392e-05/0.08609, allocations: 0 / 0.8574 GB, free: 4.516 MB / 0.8073 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.005691/0.09178, allocations: 4.699 MB / 0.862 GB, free: 15.71 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.09182, allocations: 8.031 kB / 0.862 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007121/0.09894, allocations: 3.073 MB / 0.865 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.1021, allocations: 2.192 MB / 0.8672 GB, free: 10.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.1024, allocations: 474.2 kB / 0.8676 GB, free: 9.828 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.1028, allocations: 244.4 kB / 0.8679 GB, free: 9.59 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.1075, allocations: 3.504 MB / 0.8713 GB, free: 5.816 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.1075, allocations: 0 / 0.8713 GB, free: 5.816 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.1078, allocations: 104 kB / 0.8714 GB, free: 5.715 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.1079, allocations: 180.7 kB / 0.8716 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.1106, allocations: 1.547 MB / 0.8731 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.1211, allocations: 7.945 MB / 0.8808 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.1244, allocations: 1.922 MB / 0.8827 GB, free: 9.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.1252, allocations: 0.5375 MB / 0.8832 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.1253, allocations: 29.31 kB / 0.8833 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.1267, allocations: 1.67 MB / 0.8849 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=163): time 4.097e-06/0.1267, allocations: 4 kB / 0.8849 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=250): time 0.01606/0.1427, allocations: 7.527 MB / 0.8922 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.1429, allocations: 0.4928 MB / 0.8927 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.1447, allocations: 1.878 MB / 0.8946 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.145, allocations: 77.7 kB / 0.8946 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009537/0.1459, allocations: 1.523 MB / 0.8961 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000751/0.1467, allocations: 0.8559 MB / 0.897 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005807/0.1473, allocations: 410.6 kB / 0.8973 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.1474, allocations: 484.7 kB / 0.8978 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.1486, allocations: 0.7781 MB / 0.8986 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.15, allocations: 1.555 MB / 0.9001 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.1524, allocations: 1.835 MB / 0.9019 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.1524, allocations: 4 kB / 0.9019 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007018/0.1594, allocations: 3.753 MB / 0.9055 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.1595, allocations: 148.8 kB / 0.9057 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.1595, allocations: 12 kB / 0.9057 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007034/0.1666, allocations: 2.726 MB / 0.9084 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.1679, allocations: 387.5 kB / 0.9087 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.1869, allocations: 11.37 MB / 0.9198 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.1889, allocations: 207.8 kB / 0.92 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.1891, allocations: 87.97 kB / 0.9201 GB, free: 2.402 MB / 0.8698 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 (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.0008575/0.19, allocations: 294.2 kB / 0.9204 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/0.1906, allocations: 398.1 kB / 0.9208 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.191, allocations: 357.2 kB / 0.9211 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.191, allocations: 24 kB / 0.9211 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.834e-05/0.191, allocations: 12 kB / 0.9212 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.191, allocations: 23.83 kB / 0.9212 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.1937, allocations: 2.079 MB / 0.9232 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.1937, allocations: 0 / 0.9232 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.1946, allocations: 303.6 kB / 0.9235 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006766/0.2014, allocations: 2.672 MB / 0.9261 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/0.2017, allocations: 51.97 kB / 0.9262 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.2192, allocations: 11.11 MB / 0.937 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2192, allocations: 0 / 0.937 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/0.2259, allocations: 3.354 MB / 0.9403 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.2271, allocations: 0.5876 MB / 0.9409 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.2274, allocations: 47.94 kB / 0.9409 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.2287, allocations: 207.8 kB / 0.9411 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008699/0.2295, allocations: 358.5 kB / 0.9414 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.2297, allocations: 75.91 kB / 0.9415 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001224/0.2309, allocations: 1.125 MB / 0.9426 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2309, allocations: 0 / 0.9426 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002278/0.2332, allocations: 1.039 MB / 0.9436 GB, free: 9.953 MB / 0.9011 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.2335, allocations: 167 kB / 0.9438 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008983/0.2425, allocations: 4.188 MB / 0.9479 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.2425, allocations: 4 kB / 0.9479 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007246/0.2497, allocations: 2.94 MB / 0.9508 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.2531, allocations: 1.102 MB / 0.9518 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.262, allocations: 5.665 MB / 0.9574 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/0.2628, allocations: 0.7874 MB / 0.9581 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00162/0.2644, allocations: 399.4 kB / 0.9585 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.2649, allocations: 176.5 kB / 0.9587 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of SimCode: time 2.405e-06/0.2649, allocations: 0 / 0.9587 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.08003/0.345, allocations: 73.68 MB / 1.031 GB, free: 1.836 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.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.862354019889608]