Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00105/0.00105, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009798/0.0009798, allocations: 165 kB / 23.82 MB, free: 0.7539 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.8976/0.8976, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.623/1.623, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.876e-05, allocations: 5.5 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003715/0.003733, allocations: 4.136 MB / 0.7911 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.005797, allocations: 1.541 MB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.006008, allocations: 39.62 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.006526, allocations: 194.6 kB / 0.7929 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.007027, allocations: 414.2 kB / 0.7933 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.007499, allocations: 357.9 kB / 0.7936 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.008392, allocations: 1.131 MB / 0.7947 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.008967, allocations: 0.5022 MB / 0.7952 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.009567, allocations: 0.62 MB / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.01002, allocations: 451.5 kB / 0.7962 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.01016, allocations: 60.53 kB / 0.7963 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.01035, allocations: 129.4 kB / 0.7964 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.01055, allocations: 307.1 kB / 0.7967 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.01073, allocations: 279.2 kB / 0.797 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.01129, allocations: 0.654 MB / 0.7976 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.0113, allocations: 4.469 kB / 0.7976 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.0113, allocations: 0 / 0.7976 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.01131, allocations: 1.312 kB / 0.7976 GB, free: 1.695 MB / 0.7448 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.001076/0.01238, allocations: 1.055 MB / 0.7987 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01242, allocations: 8.031 kB / 0.7987 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.01316, allocations: 311.7 kB / 0.799 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.01369, allocations: 0.5264 MB / 0.7995 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01372, allocations: 49.67 kB / 0.7995 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.01379, allocations: 64.89 kB / 0.7996 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.01452, allocations: 0.8974 MB / 0.8005 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.01454, allocations: 14.06 kB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.01458, allocations: 36.36 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.01465, allocations: 69.16 kB / 0.8006 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.01506, allocations: 341.8 kB / 0.8009 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.01809, allocations: 5.631 MB / 0.8064 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.01847, allocations: 262.6 kB / 0.8066 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.01883, allocations: 246.2 kB / 0.8069 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.01886, allocations: 8 kB / 0.8069 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01888, allocations: 41.38 kB / 0.8069 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.01888, allocations: 0.8438 kB / 0.8069 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001895/0.02078, allocations: 1.135 MB / 0.808 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.0208, allocations: 55.41 kB / 0.8081 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.02137, allocations: 474.4 kB / 0.8085 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.0214, allocations: 33.7 kB / 0.8086 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.02157, allocations: 446.7 kB / 0.809 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.02166, allocations: 158.6 kB / 0.8092 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.02176, allocations: 119.9 kB / 0.8093 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.02189, allocations: 0.5391 MB / 0.8098 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.02203, allocations: 101.2 kB / 0.8099 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.02229, allocations: 408.7 kB / 0.8103 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.02273, allocations: 0.5523 MB / 0.8108 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02274, allocations: 7.984 kB / 0.8108 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008399/0.02358, allocations: 0.7145 MB / 0.8115 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.02359, allocations: 12 kB / 0.8115 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.0236, allocations: 8 kB / 0.8115 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.0242, allocations: 262.4 kB / 0.8118 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.02437, allocations: 95.77 kB / 0.8119 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.02826, allocations: 7.72 MB / 0.8194 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.02843, allocations: 31.92 kB / 0.8195 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.02845, allocations: 31.98 kB / 0.8195 GB, free: 9.98 MB / 0.7761 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.0001307/0.02859, allocations: 192.3 kB / 0.8197 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.02865, allocations: 71.67 kB / 0.8197 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.02934, allocations: 0.5594 MB / 0.8203 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02935, allocations: 4 kB / 0.8203 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02935, allocations: 4 kB / 0.8203 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02936, allocations: 7.922 kB / 0.8203 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.03068, allocations: 1.149 MB / 0.8214 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03068, allocations: 4 kB / 0.8214 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.0308, allocations: 39.91 kB / 0.8215 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006743/0.03147, allocations: 258.8 kB / 0.8217 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.0315, allocations: 8 kB / 0.8217 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/0.03639, allocations: 7.707 MB / 0.8292 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.0364, allocations: 11.98 kB / 0.8293 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.03736, allocations: 0.7311 MB / 0.83 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.0375, allocations: 99.7 kB / 0.8301 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.03755, allocations: 11.94 kB / 0.8301 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.03773, allocations: 23.97 kB / 0.8301 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.03782, allocations: 43.67 kB / 0.8301 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.03785, allocations: 12 kB / 0.8302 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002116/0.03806, allocations: 302.7 kB / 0.8304 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.03806, allocations: 0 / 0.8304 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006351/0.03869, allocations: 196 kB / 0.8306 GB, free: 13.88 MB / 0.7917 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.0001186/0.03881, allocations: 103.2 kB / 0.8307 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.03997, allocations: 1.141 MB / 0.8318 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03997, allocations: 4.125 kB / 0.8318 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/0.04071, allocations: 0.9534 MB / 0.8328 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.04143, allocations: 184.8 kB / 0.833 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.04302, allocations: 1.162 MB / 0.8341 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.0432, allocations: 214.1 kB / 0.8343 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.04339, allocations: 81 kB / 0.8344 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.04345, allocations: 36.5 kB / 0.8344 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of SimCode: time 1.042e-06/0.04346, allocations: 0 / 0.8344 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of Templates: time 0.01547/0.05893, allocations: 10.95 MB / 0.8451 GB, free: 15.05 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.931873426772654]