Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.002513/0.002513, allocations: 83.69 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.002864/0.002864, 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.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.012/3.012, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.108e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009159/0.0092, allocations: 5.602 MB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.01455, allocations: 2.699 MB / 0.8189 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004618/0.01501, allocations: 35.69 kB / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.01736, allocations: 0.692 MB / 0.8196 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.01871, allocations: 440.2 kB / 0.82 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01986, allocations: 422 kB / 0.8204 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.0213, allocations: 0.9902 MB / 0.8214 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.02199, allocations: 382.5 kB / 0.8218 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.02291, allocations: 0.5214 MB / 0.8223 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.02356, allocations: 371 kB / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.02366, allocations: 48 kB / 0.8227 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.02438, allocations: 331 kB / 0.823 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.0247, allocations: 271.2 kB / 0.8233 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.02505, allocations: 239.4 kB / 0.8235 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.02643, allocations: 1.001 MB / 0.8245 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.02644, allocations: 4 kB / 0.8245 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.02644, allocations: 5 kB / 0.8245 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.02645, allocations: 0 / 0.8245 GB, free: 4.113 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002187/0.02864, allocations: 1.05 MB / 0.8255 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.02869, allocations: 8.031 kB / 0.8255 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.03116, allocations: 292.6 kB / 0.8258 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.03247, allocations: 0.4906 MB / 0.8263 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.03251, allocations: 33.38 kB / 0.8263 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.0329, allocations: 61.12 kB / 0.8264 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.03416, allocations: 0.8372 MB / 0.8272 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.03419, allocations: 9.656 kB / 0.8272 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.03425, allocations: 28.12 kB / 0.8272 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.03445, allocations: 64.94 kB / 0.8273 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.03515, allocations: 317.1 kB / 0.8276 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/0.04053, allocations: 4.564 MB / 0.832 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.04093, allocations: 160.5 kB / 0.8322 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.04115, allocations: 108.2 kB / 0.8323 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.04119, allocations: 12.81 kB / 0.8323 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.04123, allocations: 41.67 kB / 0.8323 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.04123, allocations: 0 / 0.8323 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.005243/0.04647, allocations: 1.654 MB / 0.834 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.04653, allocations: 55.41 kB / 0.834 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.04719, allocations: 0.5336 MB / 0.8345 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.04723, allocations: 33.7 kB / 0.8346 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.04758, allocations: 415.2 kB / 0.835 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.04775, allocations: 154.7 kB / 0.8351 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.04798, allocations: 131.9 kB / 0.8352 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003379/0.04831, allocations: 0.5547 MB / 0.8358 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.04859, allocations: 125.2 kB / 0.8359 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.04913, allocations: 379.3 kB / 0.8363 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.04998, allocations: 0.5411 MB / 0.8368 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.04998, allocations: 0 / 0.8368 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001657/0.05164, allocations: 0.6918 MB / 0.8375 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.05166, allocations: 8.062 kB / 0.8375 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.05167, allocations: 8 kB / 0.8375 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.05292, allocations: 246.8 kB / 0.8377 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.05345, allocations: 119.8 kB / 0.8378 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.06007, allocations: 5.804 MB / 0.8435 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.06059, allocations: 31.97 kB / 0.8435 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.06064, allocations: 27.94 kB / 0.8435 GB, free: 15.48 MB / 0.8073 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.0003184/0.06096, allocations: 212.4 kB / 0.8437 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.06109, allocations: 67.67 kB / 0.8438 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.06258, allocations: 0.5355 MB / 0.8443 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.06258, allocations: 4 kB / 0.8443 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.06259, allocations: 0 / 0.8443 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.06259, allocations: 15.92 kB / 0.8444 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.06514, allocations: 1.181 MB / 0.8455 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.06514, allocations: 3.938 kB / 0.8455 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.06555, allocations: 63.94 kB / 0.8456 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.06665, allocations: 234.9 kB / 0.8458 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.06669, allocations: 11.98 kB / 0.8458 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.07306, allocations: 5.787 MB / 0.8515 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.07306, allocations: 4.188 kB / 0.8515 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.07481, allocations: 0.8159 MB / 0.8523 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.07509, allocations: 91.62 kB / 0.8523 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.07517, allocations: 19.88 kB / 0.8524 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.07552, allocations: 27.95 kB / 0.8524 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.07562, allocations: 31.94 kB / 0.8524 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.07566, allocations: 12 kB / 0.8524 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004317/0.07609, allocations: 346.8 kB / 0.8528 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.07609, allocations: 0 / 0.8528 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007289/0.07682, allocations: 172 kB / 0.8529 GB, free: 5.301 MB / 0.8073 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.0001718/0.07699, allocations: 111.2 kB / 0.853 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.07897, allocations: 0.9764 MB / 0.854 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.07898, allocations: 0 / 0.854 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.08015, allocations: 0.7666 MB / 0.8547 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.0811, allocations: 176.6 kB / 0.8549 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.08334, allocations: 1.169 MB / 0.856 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.08379, allocations: 342.2 kB / 0.8564 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.08411, allocations: 88.8 kB / 0.8565 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.08422, allocations: 36.5 kB / 0.8565 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/0.08422, allocations: 4 kB / 0.8565 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of Templates: time 0.0194/0.1036, allocations: 9.179 MB / 0.8655 GB, free: 8.496 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.401770311989821]