Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001844/0.001844, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001954/0.001954, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.764/2.764, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.35e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01565/0.01568, allocations: 10.95 MB / 0.7971 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.03118, allocations: 8.917 MB / 0.8058 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.0326, allocations: 89.09 kB / 0.8059 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.03747, allocations: 1.722 MB / 0.8075 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.04246, allocations: 1.605 MB / 0.8091 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.04436, allocations: 0.6818 MB / 0.8098 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.04776, allocations: 2.358 MB / 0.8121 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.04964, allocations: 1.145 MB / 0.8132 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.05228, allocations: 1.543 MB / 0.8147 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.05375, allocations: 0.8608 MB / 0.8156 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.05398, allocations: 140 kB / 0.8157 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.05556, allocations: 0.7521 MB / 0.8164 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.05622, allocations: 0.6037 MB / 0.817 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.05704, allocations: 0.5961 MB / 0.8176 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.06059, allocations: 2.601 MB / 0.8201 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.06059, allocations: 0 / 0.8201 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.803e-06/0.0606, allocations: 0 / 0.8201 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.06063, allocations: 3.984 kB / 0.8201 GB, free: 10.13 MB / 0.7761 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.003777/0.0644, allocations: 2.201 MB / 0.8223 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.06444, allocations: 8.031 kB / 0.8223 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/0.07392, allocations: 1.731 MB / 0.824 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.07668, allocations: 1.171 MB / 0.8251 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-05/0.07678, allocations: 90.7 kB / 0.8252 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.07703, allocations: 120.4 kB / 0.8253 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.08122, allocations: 1.997 MB / 0.8273 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.08127, allocations: 15.88 kB / 0.8273 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.08142, allocations: 51.98 kB / 0.8273 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/0.08183, allocations: 126.1 kB / 0.8275 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004175/0.086, allocations: 1.245 MB / 0.8287 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.09945, allocations: 8.508 MB / 0.837 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.1029, allocations: 0.8242 MB / 0.8378 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.1044, allocations: 416.8 kB / 0.8382 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.1045, allocations: 8.5 kB / 0.8382 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1045, allocations: 45.89 kB / 0.8382 GB, free: 7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.1045, allocations: 0 / 0.8382 GB, free: 7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81): time 0.01547/0.12, allocations: 4.094 MB / 0.8422 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.12, allocations: 60.06 kB / 0.8423 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.1217, allocations: 1.194 MB / 0.8435 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1218, allocations: 37.7 kB / 0.8435 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007523/0.1226, allocations: 0.8625 MB / 0.8443 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.1229, allocations: 309.5 kB / 0.8446 GB, free: 380 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.1234, allocations: 228.2 kB / 0.8449 GB, free: 144 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003248/0.1237, allocations: 0.5433 MB / 0.8454 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.1254, allocations: 0.5249 MB / 0.8459 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.1276, allocations: 0.8718 MB / 0.8467 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/0.1313, allocations: 1.433 MB / 0.8481 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1313, allocations: 4 kB / 0.8482 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006654/0.138, allocations: 2.109 MB / 0.8502 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.138, allocations: 8.875 kB / 0.8502 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.138, allocations: 8 kB / 0.8502 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/0.1421, allocations: 0.8365 MB / 0.851 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.1436, allocations: 303.5 kB / 0.8513 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.162, allocations: 16.47 MB / 0.8674 GB, free: 7.707 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.1639, allocations: 183.7 kB / 0.8676 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.1641, allocations: 47.97 kB / 0.8676 GB, free: 7.48 MB / 0.823 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.0006474/0.1647, allocations: 292.3 kB / 0.8679 GB, free: 7.184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.165, allocations: 163.2 kB / 0.8681 GB, free: 7.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006529/0.1716, allocations: 1.911 MB / 0.8699 GB, free: 5.062 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.1716, allocations: 8 kB / 0.8699 GB, free: 5.055 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.1716, allocations: 11.94 kB / 0.87 GB, free: 5.043 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1716, allocations: 3.984 kB / 0.87 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009444/0.1811, allocations: 3.4 MB / 0.8733 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.1811, allocations: 4 kB / 0.8733 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.1823, allocations: 247.9 kB / 0.8735 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/0.1862, allocations: 0.7898 MB / 0.8743 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.1863, allocations: 35.89 kB / 0.8743 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.2043, allocations: 16.34 MB / 0.8903 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.2043, allocations: 7.938 kB / 0.8903 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.2105, allocations: 1.958 MB / 0.8922 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.2115, allocations: 291 kB / 0.8925 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.2118, allocations: 12 kB / 0.8925 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.2133, allocations: 187.6 kB / 0.8927 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.2136, allocations: 84.44 kB / 0.8927 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.2137, allocations: 39.97 kB / 0.8928 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001176/0.2149, allocations: 0.7204 MB / 0.8935 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.2149, allocations: 7.938 kB / 0.8935 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001767/0.2167, allocations: 440 kB / 0.8939 GB, free: 11.26 MB / 0.8542 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.000297/0.217, allocations: 131.7 kB / 0.894 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006833/0.2238, allocations: 2.948 MB / 0.8969 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.2238, allocations: 8.062 kB / 0.8969 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004335/0.2282, allocations: 2.276 MB / 0.8992 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.2306, allocations: 0.5062 MB / 0.8996 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/0.2387, allocations: 3.052 MB / 0.9026 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.24, allocations: 0.7742 MB / 0.9034 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001414/0.2414, allocations: 306.6 kB / 0.9037 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.2418, allocations: 96.44 kB / 0.9038 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of SimCode: time 1.333e-06/0.2418, allocations: 0 / 0.9038 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of Templates: time 0.05688/0.2986, allocations: 31.81 MB / 0.9348 GB, free: 1.59 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.871423861943185]