Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009304/0.0009304, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001549/0.001549, allocations: 165 kB / 24.17 MB, free: 328 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.963/0.963, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.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.832/1.832, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.774e-05, allocations: 6.25 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005702/0.00572, allocations: 6.233 MB / 0.7661 GB, free: 392 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.009035, allocations: 2.13 MB / 0.7682 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.009399, allocations: 48.22 kB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.009989, allocations: 270.9 kB / 0.7685 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.01075, allocations: 0.6515 MB / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.01135, allocations: 0.5489 MB / 0.7697 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.01304, allocations: 2.745 MB / 0.7724 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.01443, allocations: 1.49 MB / 0.7738 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.01564, allocations: 1.571 MB / 0.7753 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.01682, allocations: 1.367 MB / 0.7767 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.017, allocations: 216 kB / 0.7769 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.01739, allocations: 311.7 kB / 0.7772 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006333/0.01802, allocations: 1.066 MB / 0.7782 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.01861, allocations: 0.7173 MB / 0.7789 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.02018, allocations: 1.917 MB / 0.7808 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.02018, allocations: 0 / 0.7808 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.02e-07/0.02018, allocations: 0.6562 kB / 0.7808 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.0202, allocations: 4 kB / 0.7808 GB, free: 1.285 MB / 0.7292 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.0017/0.0219, allocations: 1.779 MB / 0.7825 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.02193, allocations: 16.02 kB / 0.7826 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.02425, allocations: 0.8425 MB / 0.7834 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.02512, allocations: 0.8513 MB / 0.7842 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.02517, allocations: 112.7 kB / 0.7843 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.02535, allocations: 156.2 kB / 0.7845 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.02676, allocations: 1.477 MB / 0.7859 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.02678, allocations: 8.062 kB / 0.7859 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.0269, allocations: 69.62 kB / 0.786 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.02704, allocations: 178.9 kB / 0.7862 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.02788, allocations: 0.607 MB / 0.7867 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.03346, allocations: 6.342 MB / 0.7929 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.03399, allocations: 425 kB / 0.7933 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.03429, allocations: 256.5 kB / 0.7936 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.03434, allocations: 12.66 kB / 0.7936 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.03436, allocations: 47.2 kB / 0.7936 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 1.743e-06/0.03437, allocations: 0 / 0.7936 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.008437/0.0428, allocations: 4.01 MB / 0.7976 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.04283, allocations: 64.39 kB / 0.7976 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.04322, allocations: 0.6205 MB / 0.7982 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.04327, allocations: 41.7 kB / 0.7983 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.04352, allocations: 0.6801 MB / 0.7989 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.04368, allocations: 313.2 kB / 0.7992 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.0439, allocations: 190.8 kB / 0.7994 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.04401, allocations: 406.5 kB / 0.7998 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.04425, allocations: 165.4 kB / 0.8 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.04459, allocations: 434.5 kB / 0.8004 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007716/0.04536, allocations: 0.6876 MB / 0.801 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.04536, allocations: 3.938 kB / 0.801 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002102/0.04747, allocations: 1.358 MB / 0.8024 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.04748, allocations: 9.719 kB / 0.8024 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.04749, allocations: 8 kB / 0.8024 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.04948, allocations: 0.8577 MB / 0.8032 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.04982, allocations: 155.7 kB / 0.8034 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.05548, allocations: 5.544 MB / 0.8088 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.05583, allocations: 32 kB / 0.8088 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.05588, allocations: 36 kB / 0.8089 GB, free: 3.734 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.05618, allocations: 168.4 kB / 0.809 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.0563, allocations: 99.83 kB / 0.8091 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.05821, allocations: 1.233 MB / 0.8103 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.05822, allocations: 8 kB / 0.8103 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.05823, allocations: 8 kB / 0.8103 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.05823, allocations: 12.11 kB / 0.8103 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.06108, allocations: 2.072 MB / 0.8124 GB, free: 48 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.06109, allocations: 0 / 0.8124 GB, free: 48 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.06125, allocations: 75.89 kB / 0.8124 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.06314, allocations: 0.8365 MB / 0.8133 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.06318, allocations: 15.94 kB / 0.8133 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005438/0.06862, allocations: 5.566 MB / 0.8187 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.06863, allocations: 7.938 kB / 0.8187 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.07059, allocations: 1.323 MB / 0.82 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.07082, allocations: 179.4 kB / 0.8202 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.0709, allocations: 23.94 kB / 0.8202 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.07114, allocations: 12 kB / 0.8202 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.07127, allocations: 84.45 kB / 0.8203 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.07131, allocations: 12 kB / 0.8203 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002186/0.07152, allocations: 300.5 kB / 0.8206 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.07152, allocations: 0 / 0.8206 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000937/0.07246, allocations: 0.5117 MB / 0.8211 GB, free: 6.859 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.0726, allocations: 108.3 kB / 0.8212 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.07409, allocations: 1.122 MB / 0.8223 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.07411, allocations: 12.5 kB / 0.8223 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.07497, allocations: 0.7974 MB / 0.8231 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.07551, allocations: 204.7 kB / 0.8233 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.07839, allocations: 2.681 MB / 0.8259 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.07874, allocations: 459.2 kB / 0.8263 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.07896, allocations: 91.58 kB / 0.8264 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.07923, allocations: 189.3 kB / 0.8266 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.07923, allocations: 0 / 0.8266 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of Templates: time 0.02605/0.1053, allocations: 26.27 MB / 0.8523 GB, free: 7.047 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.258854522835463]