Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009636/0.0009636, 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.0009482/0.0009482, allocations: 161.4 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.9844/0.9844, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.626e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.003936/0.003953, allocations: 4.215 MB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.005852, allocations: 1.595 MB / 0.7657 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.006042, allocations: 39.62 kB / 0.7658 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.0065, allocations: 194.5 kB / 0.766 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.006944, allocations: 413.7 kB / 0.7663 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.007753, allocations: 375.8 kB / 0.7667 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.008456, allocations: 1.143 MB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.008956, allocations: 0.5509 MB / 0.7684 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.009437, allocations: 0.6118 MB / 0.769 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.009849, allocations: 441.4 kB / 0.7694 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.009907, allocations: 56 kB / 0.7694 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.01008, allocations: 135.8 kB / 0.7696 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.01025, allocations: 307.1 kB / 0.7699 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01043, allocations: 267.3 kB / 0.7701 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.01092, allocations: 0.6694 MB / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.01093, allocations: 0 / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01093, allocations: 0.6562 kB / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.01093, allocations: 1.375 kB / 0.7708 GB, free: 11.61 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0007796/0.01171, allocations: 0.9187 MB / 0.7717 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.01174, allocations: 8.031 kB / 0.7717 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.01251, allocations: 264.2 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.01302, allocations: 0.5107 MB / 0.7724 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.01305, allocations: 42.84 kB / 0.7725 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.01311, allocations: 72.31 kB / 0.7725 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.0137, allocations: 0.7777 MB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.01372, allocations: 13.11 kB / 0.7733 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.01376, allocations: 32.36 kB / 0.7733 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.01382, allocations: 73.2 kB / 0.7734 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.01425, allocations: 249 kB / 0.7736 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.01683, allocations: 3.873 MB / 0.7774 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.01716, allocations: 257.2 kB / 0.7777 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.01747, allocations: 215.1 kB / 0.7779 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.0175, allocations: 11.5 kB / 0.7779 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.01752, allocations: 38.56 kB / 0.7779 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.01753, allocations: 0 / 0.7779 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.001623/0.01915, allocations: 0.8706 MB / 0.7788 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.01917, allocations: 55.41 kB / 0.7788 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.0194, allocations: 419.9 kB / 0.7792 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01942, allocations: 33.7 kB / 0.7793 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01956, allocations: 365.8 kB / 0.7796 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.01964, allocations: 154.6 kB / 0.7798 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.01974, allocations: 106.2 kB / 0.7799 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.01983, allocations: 371.6 kB / 0.7802 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.01991, allocations: 69.28 kB / 0.7803 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.02008, allocations: 282.2 kB / 0.7805 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.02076, allocations: 422.7 kB / 0.7809 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02077, allocations: 4 kB / 0.7809 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006414/0.02141, allocations: 0.5631 MB / 0.7815 GB, free: 40 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02142, allocations: 9.875 kB / 0.7815 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.02143, allocations: 8.938 kB / 0.7815 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.02196, allocations: 242.3 kB / 0.7817 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.02212, allocations: 87.84 kB / 0.7818 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.02533, allocations: 5.417 MB / 0.7871 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.02548, allocations: 16 kB / 0.7871 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.02551, allocations: 30.05 kB / 0.7872 GB, free: 9.855 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.02565, allocations: 145 kB / 0.7873 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.02571, allocations: 51.95 kB / 0.7874 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.02649, allocations: 465.5 kB / 0.7878 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.0265, allocations: 4.188 kB / 0.7878 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.0265, allocations: 11.98 kB / 0.7878 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.02651, allocations: 1.031 kB / 0.7878 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.02749, allocations: 0.8807 MB / 0.7887 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.0275, allocations: 7.984 kB / 0.7887 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.02758, allocations: 27.94 kB / 0.7887 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.02804, allocations: 242.5 kB / 0.7889 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.02806, allocations: 12.53 kB / 0.789 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.03092, allocations: 5.407 MB / 0.7942 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.03092, allocations: 5.188 kB / 0.7942 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.03179, allocations: 0.5863 MB / 0.7948 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.03188, allocations: 83.52 kB / 0.7949 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.03192, allocations: 20.64 kB / 0.7949 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.03203, allocations: 8 kB / 0.7949 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.0321, allocations: 52.92 kB / 0.795 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.03211, allocations: 4 kB / 0.795 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001072/0.03222, allocations: 172.4 kB / 0.7951 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.03222, allocations: 1.562 kB / 0.7951 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004437/0.03266, allocations: 196 kB / 0.7953 GB, free: 0.9844 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.03277, allocations: 98.56 kB / 0.7954 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007443/0.03351, allocations: 0.8609 MB / 0.7963 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.03352, allocations: 14.81 kB / 0.7963 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.03402, allocations: 0.6908 MB / 0.7969 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.0345, allocations: 202.1 kB / 0.7971 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.03576, allocations: 1.175 MB / 0.7983 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.03589, allocations: 210.1 kB / 0.7985 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.03602, allocations: 65.03 kB / 0.7985 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.03632, allocations: 165.3 kB / 0.7987 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/0.03632, allocations: 0 / 0.7987 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of Templates: time 0.01298/0.0493, allocations: 11.09 MB / 0.8095 GB, free: 2.473 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.150037478655577]