Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.000976/0.000976, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.000992/0.000992, allocations: 165 kB / 24.16 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.9545/0.9545, allocations: 177.1 MB / 204.6 MB, free: 5.113 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.987/1.987, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.487e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005277/0.005302, allocations: 4.127 MB / 0.7641 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.008295, allocations: 1.563 MB / 0.7656 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.008736, allocations: 39.62 kB / 0.7657 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.009383, allocations: 196.1 kB / 0.7658 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007769/0.01016, allocations: 409.3 kB / 0.7662 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.01086, allocations: 356.7 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009002/0.01176, allocations: 1.134 MB / 0.7677 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006209/0.01239, allocations: 0.5624 MB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.01306, allocations: 0.604 MB / 0.7688 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.0136, allocations: 441.7 kB / 0.7692 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.01366, allocations: 56 kB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.0139, allocations: 131.8 kB / 0.7694 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.01409, allocations: 311.1 kB / 0.7697 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.01427, allocations: 259.4 kB / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.01487, allocations: 0.6733 MB / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01487, allocations: 0 / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.482e-06/0.01487, allocations: 0 / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.01488, allocations: 0.6875 kB / 0.7706 GB, free: 11.75 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.0009663/0.01585, allocations: 0.9084 MB / 0.7715 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.01588, allocations: 16.02 kB / 0.7715 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.01667, allocations: 264.2 kB / 0.7718 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.01722, allocations: 0.4941 MB / 0.7723 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.01725, allocations: 50.33 kB / 0.7723 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.01731, allocations: 64.36 kB / 0.7724 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.0179, allocations: 0.7753 MB / 0.7731 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.01793, allocations: 12.08 kB / 0.7731 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.01796, allocations: 32.34 kB / 0.7732 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.01803, allocations: 69.22 kB / 0.7732 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.0183, allocations: 249.4 kB / 0.7735 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.02064, allocations: 3.867 MB / 0.7772 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.02096, allocations: 265.7 kB / 0.7775 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.02125, allocations: 218.8 kB / 0.7777 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.02128, allocations: 4.719 kB / 0.7777 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.0213, allocations: 42.5 kB / 0.7778 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.0213, allocations: 4.625 kB / 0.7778 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.001773/0.02308, allocations: 0.8686 MB / 0.7786 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.0231, allocations: 56.88 kB / 0.7787 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.02333, allocations: 411 kB / 0.7791 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.02335, allocations: 33.7 kB / 0.7791 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.02349, allocations: 364.9 kB / 0.7794 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.02357, allocations: 155.7 kB / 0.7796 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.02367, allocations: 102.2 kB / 0.7797 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.02377, allocations: 370.6 kB / 0.78 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.02386, allocations: 62.08 kB / 0.7801 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.02403, allocations: 281 kB / 0.7804 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.02435, allocations: 424.1 kB / 0.7808 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.02435, allocations: 11.94 kB / 0.7808 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006583/0.02501, allocations: 0.5664 MB / 0.7813 GB, free: 212 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.02503, allocations: 8 kB / 0.7813 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.02504, allocations: 9 kB / 0.7813 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.02559, allocations: 246.2 kB / 0.7816 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.02576, allocations: 91.83 kB / 0.7817 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.02916, allocations: 5.415 MB / 0.787 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.02937, allocations: 16 kB / 0.787 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.02939, allocations: 21.69 kB / 0.787 GB, free: 10.02 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.0001721/0.02956, allocations: 154 kB / 0.7871 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.02962, allocations: 51.94 kB / 0.7872 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.03021, allocations: 460.6 kB / 0.7876 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.03021, allocations: 8 kB / 0.7876 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.03021, allocations: 4.938 kB / 0.7876 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.03022, allocations: 0 / 0.7876 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.03124, allocations: 0.8842 MB / 0.7885 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.03124, allocations: 5.188 kB / 0.7885 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.03132, allocations: 31.94 kB / 0.7885 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.03179, allocations: 238.2 kB / 0.7888 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.03181, allocations: 11.94 kB / 0.7888 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/0.03501, allocations: 5.415 MB / 0.7941 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03501, allocations: 0 / 0.7941 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.03561, allocations: 0.5832 MB / 0.7946 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.03572, allocations: 83.59 kB / 0.7947 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.03575, allocations: 11.92 kB / 0.7947 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.03586, allocations: 16.69 kB / 0.7947 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.03595, allocations: 39.92 kB / 0.7948 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.03597, allocations: 12.66 kB / 0.7948 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001125/0.03608, allocations: 164.1 kB / 0.7949 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.03608, allocations: 0 / 0.7949 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005235/0.03661, allocations: 196 kB / 0.7951 GB, free: 1.172 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.0001134/0.03672, allocations: 96.34 kB / 0.7952 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.03752, allocations: 0.8654 MB / 0.7961 GB, free: 164 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.03754, allocations: 12.5 kB / 0.7961 GB, free: 152 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.03808, allocations: 0.6947 MB / 0.7968 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.03859, allocations: 204 kB / 0.797 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.04015, allocations: 1.147 MB / 0.7981 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.04033, allocations: 210.1 kB / 0.7983 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.04052, allocations: 61.05 kB / 0.7983 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.04075, allocations: 169.2 kB / 0.7985 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of SimCode: time 2.555e-06/0.04075, allocations: 0 / 0.7985 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.01453/0.05528, allocations: 11.08 MB / 0.8093 GB, free: 2.676 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_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.1827229033224285]