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.00201/0.00201, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002272/0.002272, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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_L,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_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.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.842e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01122/0.01125, allocations: 6.134 MB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006842/0.0181, allocations: 3.203 MB / 0.8199 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.01886, allocations: 39.62 kB / 0.82 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.022, allocations: 0.9615 MB / 0.8209 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.02383, allocations: 0.4962 MB / 0.8214 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.0254, allocations: 488.5 kB / 0.8219 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.02737, allocations: 1.129 MB / 0.823 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.02856, allocations: 0.5061 MB / 0.8235 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.03013, allocations: 0.6116 MB / 0.8241 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.03114, allocations: 434.8 kB / 0.8245 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.03132, allocations: 61.09 kB / 0.8245 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.03247, allocations: 446.8 kB / 0.8249 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.03296, allocations: 307.2 kB / 0.8252 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.03359, allocations: 279.9 kB / 0.8255 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.03603, allocations: 1.208 MB / 0.8267 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.03604, allocations: 4 kB / 0.8267 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.03604, allocations: 0 / 0.8267 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.49e-05/0.03609, allocations: 0.8438 kB / 0.8267 GB, free: 1.828 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002457/0.03854, allocations: 1.144 MB / 0.8278 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.03859, allocations: 8.031 kB / 0.8278 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.04041, allocations: 331.7 kB / 0.8281 GB, free: 324 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.04167, allocations: 0.547 MB / 0.8287 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.04173, allocations: 49.67 kB / 0.8287 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.04185, allocations: 68.8 kB / 0.8288 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.04341, allocations: 0.9601 MB / 0.8297 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.04345, allocations: 13.42 kB / 0.8297 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.04354, allocations: 28.38 kB / 0.8298 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.04365, allocations: 73.2 kB / 0.8298 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.04448, allocations: 382.3 kB / 0.8302 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006786/0.05127, allocations: 5.801 MB / 0.8359 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.05197, allocations: 257.4 kB / 0.8361 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.05273, allocations: 255.5 kB / 0.8363 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.05278, allocations: 8 kB / 0.8364 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.05282, allocations: 45.39 kB / 0.8364 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 6.493e-06/0.05282, allocations: 3.984 kB / 0.8364 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.00414/0.05696, allocations: 1.19 MB / 0.8376 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.05702, allocations: 55.41 kB / 0.8376 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.05769, allocations: 0.5375 MB / 0.8381 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.05774, allocations: 33.7 kB / 0.8382 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.05814, allocations: 466.7 kB / 0.8386 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.05831, allocations: 162.6 kB / 0.8388 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.05854, allocations: 131.9 kB / 0.8389 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003524/0.05889, allocations: 0.5508 MB / 0.8394 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.05915, allocations: 121.2 kB / 0.8396 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.05974, allocations: 436.7 kB / 0.84 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.06085, allocations: 0.5962 MB / 0.8406 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.06086, allocations: 4 kB / 0.8406 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00183/0.06269, allocations: 0.7689 MB / 0.8413 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.06271, allocations: 12.16 kB / 0.8413 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.06273, allocations: 8 kB / 0.8413 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.06397, allocations: 282.5 kB / 0.8416 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.06432, allocations: 99.77 kB / 0.8417 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008813/0.07314, allocations: 7.884 MB / 0.8494 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.07366, allocations: 31.98 kB / 0.8494 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.07372, allocations: 28 kB / 0.8494 GB, free: 9.203 MB / 0.8073 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.0003498/0.07407, allocations: 220.3 kB / 0.8497 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.07421, allocations: 67.67 kB / 0.8497 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.07585, allocations: 0.6026 MB / 0.8503 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.07585, allocations: 4 kB / 0.8503 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.07586, allocations: 4 kB / 0.8503 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.07587, allocations: 3.938 kB / 0.8503 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.07865, allocations: 1.283 MB / 0.8516 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.07865, allocations: 0 / 0.8516 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.07884, allocations: 39.97 kB / 0.8516 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.08, allocations: 274.9 kB / 0.8519 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.08004, allocations: 12 kB / 0.8519 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00856/0.0886, allocations: 7.89 MB / 0.8596 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.08861, allocations: 0 / 0.8596 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.09035, allocations: 0.7819 MB / 0.8604 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.09064, allocations: 91.56 kB / 0.8604 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.09071, allocations: 12 kB / 0.8605 GB, free: 13.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.09099, allocations: 19.97 kB / 0.8605 GB, free: 13.22 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.09113, allocations: 47.86 kB / 0.8605 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.09116, allocations: 8 kB / 0.8605 GB, free: 13.16 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004085/0.09157, allocations: 346.7 kB / 0.8609 GB, free: 12.83 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.09157, allocations: 0 / 0.8609 GB, free: 12.83 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009046/0.09248, allocations: 200 kB / 0.861 GB, free: 12.63 MB / 0.823 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.0001971/0.09267, allocations: 111.1 kB / 0.8612 GB, free: 12.52 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.09495, allocations: 1.203 MB / 0.8623 GB, free: 11.24 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.09495, allocations: 256 / 0.8623 GB, free: 11.24 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.09636, allocations: 0.979 MB / 0.8633 GB, free: 10.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.0974, allocations: 197.7 kB / 0.8635 GB, free: 10 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.09976, allocations: 1.171 MB / 0.8646 GB, free: 8.766 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.1003, allocations: 382.6 kB / 0.865 GB, free: 8.367 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.1005, allocations: 85 kB / 0.8651 GB, free: 8.281 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.1006, allocations: 32.5 kB / 0.8651 GB, free: 8.25 MB / 0.823 GB Notification: Performance of SimCode: time 1.784e-06/0.1006, allocations: 0 / 0.8651 GB, free: 8.25 MB / 0.823 GB Notification: Performance of Templates: time 0.02191/0.1225, allocations: 10.53 MB / 0.8754 GB, free: 13.95 MB / 0.8386 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.71138561598491]