Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 197.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 71.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7519, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02782/0.7798, allocations: 22.64 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.8081, allocations: 17.61 MB / 1.057 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.8119, allocations: 111.4 kB / 1.057 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.8227, allocations: 4.177 MB / 1.061 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.8345, allocations: 3.504 MB / 1.064 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.8388, allocations: 1.323 MB / 1.065 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009132/0.848, allocations: 5.767 MB / 1.071 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006527/0.8545, allocations: 3.604 MB / 1.075 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.8605, allocations: 2.394 MB / 1.077 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005526/0.8661, allocations: 2.444 MB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001666/0.8678, allocations: 368 kB / 1.08 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.8718, allocations: 1.033 MB / 1.081 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.8738, allocations: 1.196 MB / 1.082 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.8778, allocations: 1.994 MB / 1.084 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.8851, allocations: 5.112 MB / 1.089 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8852, allocations: 0 / 1.089 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8852, allocations: 0 / 1.089 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001832/0.8854, allocations: 0 / 1.089 GB, free: 8.953 MB / 0.8419 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.01227/0.8976, allocations: 4.609 MB / 1.093 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8977, allocations: 8.031 kB / 1.093 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.9148, allocations: 3.269 MB / 1.097 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/0.9193, allocations: 2.08 MB / 1.099 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/0.9198, allocations: 478.2 kB / 1.099 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008955/0.9207, allocations: 231.9 kB / 1.099 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.9334, allocations: 4.814 MB / 1.104 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.39e-05/0.9334, allocations: 4 kB / 1.104 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005803/0.934, allocations: 104 kB / 1.104 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.9343, allocations: 176.8 kB / 1.104 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.9483, allocations: 5.194 MB / 1.109 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02379/0.9722, allocations: 14.47 MB / 1.123 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.9824, allocations: 3.389 MB / 1.127 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/0.9865, allocations: 1.471 MB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.9867, allocations: 21.3 kB / 1.128 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004656/0.9914, allocations: 1.792 MB / 1.13 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=163): time 5.761e-06/0.9914, allocations: 0 / 1.13 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of matching and sorting (n=250): time 0.1325/1.124, allocations: 28.23 MB / 1.157 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003311/1.124, allocations: 0.4889 MB / 1.158 GB, free: 140 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/1.13, allocations: 2.3 MB / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008651/1.131, allocations: 77.7 kB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.133, allocations: 1.434 MB / 1.162 GB, free: 12.29 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.134, allocations: 0.8202 MB / 1.162 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001823/1.136, allocations: 424.3 kB / 1.163 GB, free: 11.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.136, allocations: 301.1 kB / 1.163 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005826/1.142, allocations: 1.929 MB / 1.165 GB, free: 8.809 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/1.148, allocations: 2.227 MB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.159, allocations: 4.161 MB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.159, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01948/1.179, allocations: 6.54 MB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/1.179, allocations: 150.4 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.179, allocations: 8 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/1.19, allocations: 2.941 MB / 1.181 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.193, allocations: 499.2 kB / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04173/1.235, allocations: 18.86 MB / 1.2 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/1.239, allocations: 319.6 kB / 1.2 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/1.239, allocations: 87.98 kB / 1.2 GB, free: 4.434 MB / 0.9512 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.001694/1.241, allocations: 0.7105 MB / 1.201 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/1.242, allocations: 332.1 kB / 1.201 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/1.243, allocations: 384.1 kB / 1.201 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.243, allocations: 24 kB / 1.201 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/1.243, allocations: 12 kB / 1.201 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.243, allocations: 11.95 kB / 1.201 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/1.248, allocations: 3.628 MB / 1.205 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/1.248, allocations: 0 / 1.205 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.25, allocations: 411.4 kB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.261, allocations: 2.896 MB / 1.208 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004689/1.261, allocations: 51.97 kB / 1.208 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04133/1.302, allocations: 18.63 MB / 1.226 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.302, allocations: 0 / 1.226 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/1.322, allocations: 6.181 MB / 1.232 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.324, allocations: 0.6922 MB / 1.233 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.325, allocations: 51.94 kB / 1.233 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/1.329, allocations: 307.6 kB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/1.33, allocations: 358.7 kB / 1.234 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/1.33, allocations: 75.97 kB / 1.234 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002973/1.333, allocations: 1.528 MB / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.333, allocations: 0 / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003985/1.337, allocations: 1.043 MB / 1.236 GB, free: 14.72 MB / 0.9981 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.0005562/1.338, allocations: 169.8 kB / 1.237 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02725/1.365, allocations: 7.305 MB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.365, allocations: 4 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01854/1.384, allocations: 4.056 MB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006117/1.39, allocations: 1.129 MB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5581/1.948, allocations: 6.78 MB / 1.255 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.952, allocations: 2.231 MB / 1.258 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003228/1.955, allocations: 0.5039 MB / 1.258 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/1.956, allocations: 185.6 kB / 1.258 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.605e-06/1.956, allocations: 0 / 1.258 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.1084/2.064, allocations: 77.59 MB / 1.334 GB, free: 160.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches