Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0007749/0.0007749, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008834/0.0008834, allocations: 173 kB / 23.49 MB, free: 1.055 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.933/0.933, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.011/2.011, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.554e-05, allocations: 6.156 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008109/0.008125, allocations: 10.12 MB / 0.8881 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003303/0.01143, allocations: 3.096 MB / 0.8911 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.01172, allocations: 51.62 kB / 0.8912 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.01287, allocations: 0.7134 MB / 0.8919 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.01364, allocations: 0.7357 MB / 0.8926 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.01433, allocations: 0.6504 MB / 0.8932 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.01601, allocations: 2.784 MB / 0.8959 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.01724, allocations: 1.372 MB / 0.8973 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.01858, allocations: 1.587 MB / 0.8988 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.01975, allocations: 1.415 MB / 0.9002 GB, free: 40 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.01997, allocations: 216 kB / 0.9004 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.02045, allocations: 475.1 kB / 0.9009 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006387/0.02109, allocations: 1.068 MB / 0.9019 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.02164, allocations: 0.7173 MB / 0.9026 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.02308, allocations: 2.014 MB / 0.9046 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.02308, allocations: 0 / 0.9046 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.02308, allocations: 8 kB / 0.9046 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.02309, allocations: 0 / 0.9046 GB, free: 11.55 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002146/0.02524, allocations: 2.077 MB / 0.9066 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.02527, allocations: 8.031 kB / 0.9066 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.02862, allocations: 1.166 MB / 0.9077 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.0297, allocations: 1.06 MB / 0.9088 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.02976, allocations: 111.3 kB / 0.9089 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.02995, allocations: 148.3 kB / 0.909 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.03188, allocations: 1.664 MB / 0.9107 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.03191, allocations: 8.125 kB / 0.9107 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.03204, allocations: 68.34 kB / 0.9107 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.03219, allocations: 178.9 kB / 0.9109 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.03351, allocations: 0.7166 MB / 0.9116 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007258/0.04077, allocations: 8.666 MB / 0.9201 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.04159, allocations: 484.7 kB / 0.9205 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.04208, allocations: 345.9 kB / 0.9209 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.04213, allocations: 20.66 kB / 0.9209 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.04215, allocations: 42.05 kB / 0.9209 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.04216, allocations: 0 / 0.9209 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.01087/0.05302, allocations: 5.727 MB / 0.9265 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.05306, allocations: 72.7 kB / 0.9266 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.05379, allocations: 0.7647 MB / 0.9273 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.05387, allocations: 49.7 kB / 0.9274 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.0542, allocations: 0.8074 MB / 0.9282 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.05449, allocations: 0.5153 MB / 0.9287 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.05484, allocations: 293.2 kB / 0.9289 GB, free: 2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.05497, allocations: 0.5276 MB / 0.9295 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.05555, allocations: 331.8 kB / 0.9298 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.05634, allocations: 0.7791 MB / 0.9305 GB, free: 204 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.05777, allocations: 1.193 MB / 0.9317 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.05777, allocations: 4 kB / 0.9317 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005146/0.06292, allocations: 2.841 MB / 0.9345 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.06294, allocations: 8 kB / 0.9345 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.06295, allocations: 8 kB / 0.9345 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004413/0.06736, allocations: 1.874 MB / 0.9363 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.06775, allocations: 191.7 kB / 0.9365 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.08197, allocations: 14.81 MB / 0.951 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.08253, allocations: 99.88 kB / 0.9511 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.08262, allocations: 56 kB / 0.9511 GB, free: 10.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003633/0.08298, allocations: 236.2 kB / 0.9513 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.08318, allocations: 163.3 kB / 0.9515 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.08795, allocations: 2.737 MB / 0.9542 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.08796, allocations: 16 kB / 0.9542 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.08797, allocations: 19.94 kB / 0.9542 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.08798, allocations: 15.91 kB / 0.9542 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.09496, allocations: 4.675 MB / 0.9588 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.09497, allocations: 4 kB / 0.9588 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.0952, allocations: 120.2 kB / 0.9589 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/0.09945, allocations: 1.779 MB / 0.9606 GB, free: 496 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.09952, allocations: 32 kB / 0.9607 GB, free: 464 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.1126, allocations: 13.63 MB / 0.974 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1126, allocations: 7.938 kB / 0.974 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.1173, allocations: 2.796 MB / 0.9767 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.1177, allocations: 383 kB / 0.9771 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.1179, allocations: 24 kB / 0.9771 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.1183, allocations: 75.89 kB / 0.9772 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.1186, allocations: 133 kB / 0.9773 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.1186, allocations: 36 kB / 0.9773 GB, free: 14.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003707/0.119, allocations: 470.9 kB / 0.9778 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.119, allocations: 8 kB / 0.9778 GB, free: 14.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001447/0.1205, allocations: 0.7227 MB / 0.9785 GB, free: 13.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.1206, allocations: 134.5 kB / 0.9786 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.1236, allocations: 2.483 MB / 0.9811 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1236, allocations: 4 kB / 0.9811 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.1259, allocations: 2.02 MB / 0.983 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.1267, allocations: 219.3 kB / 0.9832 GB, free: 8.605 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.1301, allocations: 3.26 MB / 0.9864 GB, free: 5.258 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1305, allocations: 0.5422 MB / 0.987 GB, free: 4.688 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.1309, allocations: 253.2 kB / 0.9872 GB, free: 4.438 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.131, allocations: 64.48 kB / 0.9873 GB, free: 4.375 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/0.131, allocations: 4 kB / 0.9873 GB, free: 4.371 MB / 0.948 GB Notification: Performance of Templates: time 0.03824/0.1693, allocations: 42.82 MB / 1.029 GB, free: 9.801 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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: 5.881886683870107]