Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.000953/0.000953, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009544/0.0009544, allocations: 169 kB / 24.28 MB, free: 280 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.907/0.907, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.851/1.851, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.418e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01403/0.01407, allocations: 11.02 MB / 0.8223 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.02699, allocations: 8.942 MB / 0.831 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.02807, allocations: 87.25 kB / 0.8311 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.03038, allocations: 1.718 MB / 0.8328 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.03383, allocations: 1.62 MB / 0.8344 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.03516, allocations: 0.674 MB / 0.835 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.03772, allocations: 2.36 MB / 0.8373 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.03919, allocations: 1.149 MB / 0.8384 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.04111, allocations: 1.539 MB / 0.8399 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.04226, allocations: 0.8687 MB / 0.8408 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.0425, allocations: 136 kB / 0.8409 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.04367, allocations: 0.7481 MB / 0.8417 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.04409, allocations: 0.6036 MB / 0.8422 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006024/0.04469, allocations: 0.5923 MB / 0.8428 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.04663, allocations: 1.709 MB / 0.8445 GB, free: 240 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.04663, allocations: 3.938 kB / 0.8445 GB, free: 236 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.283e-06/0.04663, allocations: 4 kB / 0.8445 GB, free: 232 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.296e-05/0.04668, allocations: 0 / 0.8445 GB, free: 232 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002233/0.04891, allocations: 2.084 MB / 0.8465 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.04895, allocations: 8.031 kB / 0.8465 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.05355, allocations: 1.727 MB / 0.8482 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.05494, allocations: 1.159 MB / 0.8494 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.05498, allocations: 86.69 kB / 0.8494 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.05514, allocations: 120.4 kB / 0.8496 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.05736, allocations: 1.869 MB / 0.8514 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.0574, allocations: 15.83 kB / 0.8514 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.05751, allocations: 55.98 kB / 0.8514 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.05771, allocations: 122.1 kB / 0.8516 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.05896, allocations: 0.7583 MB / 0.8523 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006503/0.06546, allocations: 7.968 MB / 0.8601 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.06673, allocations: 0.6176 MB / 0.8607 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.06709, allocations: 227.8 kB / 0.8609 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.06713, allocations: 8.5 kB / 0.8609 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.06717, allocations: 53.86 kB / 0.861 GB, free: 14.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 3.447e-06/0.06717, allocations: 0 / 0.861 GB, free: 14.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.005804/0.07298, allocations: 3.099 MB / 0.864 GB, free: 11.64 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.07301, allocations: 60.06 kB / 0.8641 GB, free: 11.57 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.07381, allocations: 0.9321 MB / 0.865 GB, free: 10.62 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.07388, allocations: 41.7 kB / 0.865 GB, free: 10.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.07426, allocations: 0.8078 MB / 0.8658 GB, free: 9.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.07446, allocations: 305.4 kB / 0.8661 GB, free: 9.457 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.07472, allocations: 196.2 kB / 0.8663 GB, free: 9.254 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.07486, allocations: 0.5199 MB / 0.8668 GB, free: 8.727 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.07535, allocations: 317.8 kB / 0.8671 GB, free: 8.418 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.07597, allocations: 0.6338 MB / 0.8677 GB, free: 7.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.07708, allocations: 0.9613 MB / 0.8686 GB, free: 6.566 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.07708, allocations: 4 kB / 0.8686 GB, free: 6.562 MB / 0.823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002512/0.07959, allocations: 1.591 MB / 0.8702 GB, free: 4.934 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.07962, allocations: 14.69 kB / 0.8702 GB, free: 4.922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.07963, allocations: 8 kB / 0.8702 GB, free: 4.914 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.08159, allocations: 0.7271 MB / 0.8709 GB, free: 4.152 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.0823, allocations: 307.5 kB / 0.8712 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008785/0.09109, allocations: 15.67 MB / 0.8865 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.09199, allocations: 183.8 kB / 0.8867 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.09207, allocations: 59.89 kB / 0.8868 GB, free: 2.957 MB / 0.8386 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.09246, allocations: 208.3 kB / 0.887 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.09267, allocations: 163.2 kB / 0.8871 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.09505, allocations: 1.439 MB / 0.8885 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.09506, allocations: 8 kB / 0.8885 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.09507, allocations: 11.94 kB / 0.8885 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.09507, allocations: 3.984 kB / 0.8885 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.0987, allocations: 2.649 MB / 0.8911 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.0987, allocations: 4 kB / 0.8911 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.09925, allocations: 235.6 kB / 0.8914 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.101, allocations: 0.6963 MB / 0.892 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.1011, allocations: 31.91 kB / 0.8921 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00818/0.1092, allocations: 15.63 MB / 0.9073 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1092, allocations: 4 kB / 0.9073 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.1115, allocations: 1.493 MB / 0.9088 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.1119, allocations: 291 kB / 0.9091 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1121, allocations: 16 kB / 0.9091 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.1127, allocations: 191.6 kB / 0.9093 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.1129, allocations: 84.44 kB / 0.9093 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.113, allocations: 39.97 kB / 0.9094 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005225/0.1135, allocations: 0.572 MB / 0.9099 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1135, allocations: 0 / 0.9099 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001097/0.1146, allocations: 447.9 kB / 0.9104 GB, free: 9.473 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002116/0.1148, allocations: 123.2 kB / 0.9105 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.1173, allocations: 2.491 MB / 0.9129 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1173, allocations: 0 / 0.9129 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.1188, allocations: 2.054 MB / 0.9149 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.12, allocations: 0.5035 MB / 0.9154 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1238, allocations: 2.814 MB / 0.9182 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1241, allocations: 391.2 kB / 0.9185 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007787/0.1249, allocations: 306.6 kB / 0.9188 GB, free: 424 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1252, allocations: 100.4 kB / 0.9189 GB, free: 320 kB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/0.1252, allocations: 4 kB / 0.9189 GB, free: 316 kB / 0.8698 GB Notification: Performance of Templates: time 0.0348/0.16, allocations: 31.85 MB / 0.95 GB, free: 1.094 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.516395666869357]