Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001698/0.001698, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002224/0.002224, allocations: 167.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.814/2.814, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 3.938 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.076e-05, allocations: 10.28 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008349/0.00838, allocations: 5.206 MB / 0.9865 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00543/0.01381, allocations: 2.572 MB / 0.989 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.0145, allocations: 31.69 kB / 0.9891 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.01683, allocations: 0.6899 MB / 0.9897 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.01844, allocations: 437.3 kB / 0.9902 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.0197, allocations: 400.7 kB / 0.9905 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.02126, allocations: 0.9863 MB / 0.9915 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.02211, allocations: 378.5 kB / 0.9919 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.02324, allocations: 0.5143 MB / 0.9924 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.02403, allocations: 370.9 kB / 0.9927 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.02416, allocations: 48 kB / 0.9928 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.02494, allocations: 339 kB / 0.9931 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.02529, allocations: 259.2 kB / 0.9933 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.02571, allocations: 235.4 kB / 0.9936 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.02732, allocations: 1.005 MB / 0.9945 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02733, allocations: 4 kB / 0.9945 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.02733, allocations: 0 / 0.9945 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.706e-05/0.02737, allocations: 0 / 0.9945 GB, free: 14.51 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001918/0.02928, allocations: 0.9014 MB / 0.9954 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.02932, allocations: 8.031 kB / 0.9954 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.03078, allocations: 204.3 kB / 0.9956 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/0.0316, allocations: 458.9 kB / 0.9961 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.03163, allocations: 37.38 kB / 0.9961 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.03179, allocations: 56.55 kB / 0.9961 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.0331, allocations: 0.9866 MB / 0.9971 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.03313, allocations: 12.12 kB / 0.9971 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.03319, allocations: 24.12 kB / 0.9971 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.03339, allocations: 64.94 kB / 0.9972 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.03431, allocations: 0.5658 MB / 0.9978 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.03839, allocations: 3.48 MB / 1.001 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.03888, allocations: 279.2 kB / 1.001 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.0392, allocations: 209.3 kB / 1.002 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.03923, allocations: 8.219 kB / 1.002 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.03927, allocations: 38.84 kB / 1.002 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.993e-06/0.03927, allocations: 0 / 1.002 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.005886/0.04515, allocations: 2.33 MB / 1.004 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.0452, allocations: 59.39 kB / 1.004 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.04584, allocations: 425.7 kB / 1.004 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.04588, allocations: 33.7 kB / 1.004 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.04615, allocations: 352.4 kB / 1.005 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.04635, allocations: 146.7 kB / 1.005 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.04652, allocations: 102.3 kB / 1.005 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.04673, allocations: 366.7 kB / 1.005 GB, free: 3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.04723, allocations: 237.2 kB / 1.006 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.04776, allocations: 407.3 kB / 1.006 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.04873, allocations: 0.6778 MB / 1.007 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.04874, allocations: 0 / 1.007 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001984/0.05072, allocations: 0.9175 MB / 1.008 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.05075, allocations: 8 kB / 1.008 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.05076, allocations: 4 kB / 1.008 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00095/0.05171, allocations: 230.5 kB / 1.008 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.05223, allocations: 115.8 kB / 1.008 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.05827, allocations: 4.934 MB / 1.013 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.05876, allocations: 31.97 kB / 1.013 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.05881, allocations: 27.94 kB / 1.013 GB, free: 10.95 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003495/0.05916, allocations: 221.7 kB / 1.013 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.05929, allocations: 55.67 kB / 1.013 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.06102, allocations: 0.7654 MB / 1.014 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.06103, allocations: 4.328 kB / 1.014 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.06104, allocations: 11.98 kB / 1.014 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.06105, allocations: 7.984 kB / 1.014 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.06352, allocations: 1.323 MB / 1.015 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.06353, allocations: 0 / 1.015 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.06392, allocations: 63.89 kB / 1.015 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007281/0.06465, allocations: 206.5 kB / 1.015 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.06468, allocations: 12 kB / 1.015 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.07028, allocations: 4.868 MB / 1.02 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.07029, allocations: 4.031 kB / 1.02 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.07225, allocations: 1.108 MB / 1.021 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.07248, allocations: 99.55 kB / 1.021 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.07255, allocations: 11.94 kB / 1.021 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.07288, allocations: 23.97 kB / 1.021 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.07299, allocations: 39.94 kB / 1.021 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.07302, allocations: 8 kB / 1.021 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003532/0.07337, allocations: 283.1 kB / 1.022 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.07337, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007117/0.07408, allocations: 168 kB / 1.022 GB, free: 1.223 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.0743, allocations: 121.2 kB / 1.022 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.0761, allocations: 0.9658 MB / 1.023 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.07611, allocations: 0 / 1.023 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.07717, allocations: 0.6759 MB / 1.024 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.07806, allocations: 167.8 kB / 1.024 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.08026, allocations: 1.223 MB / 1.025 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.08069, allocations: 350 kB / 1.025 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.08102, allocations: 104.8 kB / 1.025 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.08113, allocations: 44.42 kB / 1.025 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of SimCode: time 8.51e-07/0.08113, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.01777/0.09889, allocations: 9.028 MB / 1.034 GB, free: 4.633 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.356025956571102]