Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001584/0.001584, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001848/0.001848, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 64.42 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008144/0.3017, allocations: 5.759 MB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.3067, allocations: 2.79 MB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.3071, allocations: 31.69 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.3091, allocations: 0.7003 MB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3102, allocations: 429.7 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3113, allocations: 409.7 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.3126, allocations: 0.9633 MB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.3132, allocations: 386 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3138, allocations: 386.6 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.3144, allocations: 434.3 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.3145, allocations: 48 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.3152, allocations: 371.2 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.3155, allocations: 255.2 kB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.3159, allocations: 350.2 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3172, allocations: 0.9845 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3172, allocations: 0 / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3172, allocations: 0 / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3172, allocations: 0 / 1.297 GB, free: 13.43 MB / 0.9981 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.001758/0.319, allocations: 0.9246 MB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.319, allocations: 12.03 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.3191, allocations: 102.7 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.3205, allocations: 196.3 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/0.3215, allocations: 476.8 kB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.3216, allocations: 41.38 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3217, allocations: 56.5 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.323, allocations: 0.8239 MB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.323, allocations: 11.94 kB / 1.3 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.3231, allocations: 24 kB / 1.3 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.3233, allocations: 68.88 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009624/0.3242, allocations: 0.5736 MB / 1.3 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.3291, allocations: 4.501 MB / 1.305 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.3296, allocations: 275.3 kB / 1.305 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.33, allocations: 213.3 kB / 1.305 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.33, allocations: 288 / 1.305 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.33, allocations: 38.84 kB / 1.305 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.312e-06/0.33, allocations: 0 / 1.305 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005726/0.3358, allocations: 2.335 MB / 1.308 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3358, allocations: 55.41 kB / 1.308 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.3363, allocations: 473.9 kB / 1.308 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3364, allocations: 33.7 kB / 1.308 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.3366, allocations: 344.5 kB / 1.309 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3368, allocations: 150.7 kB / 1.309 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.337, allocations: 102.3 kB / 1.309 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3371, allocations: 370.8 kB / 1.309 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.3375, allocations: 237.1 kB / 1.309 GB, free: 464 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.338, allocations: 411.3 kB / 1.31 GB, free: 15.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.339, allocations: 0.6779 MB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.339, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001809/0.3408, allocations: 0.9174 MB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3408, allocations: 8 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3408, allocations: 7.984 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008182/0.3416, allocations: 226.6 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.3422, allocations: 115.8 kB / 1.312 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/0.3479, allocations: 5.033 MB / 1.317 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.3484, allocations: 27.97 kB / 1.317 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.3484, allocations: 28 kB / 1.317 GB, free: 8.496 MB / 1.014 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.0003676/0.3488, allocations: 221.7 kB / 1.317 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3489, allocations: 71.73 kB / 1.317 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.3505, allocations: 0.758 MB / 1.318 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.3505, allocations: 4 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3505, allocations: 11.98 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3505, allocations: 0 / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.3532, allocations: 1.466 MB / 1.319 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3532, allocations: 4 kB / 1.319 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.3536, allocations: 71.88 kB / 1.319 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/0.3543, allocations: 206.4 kB / 1.319 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3544, allocations: 8 kB / 1.319 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/0.3597, allocations: 4.963 MB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3598, allocations: 11.86 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3617, allocations: 1.124 MB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.362, allocations: 103.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.3621, allocations: 8 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.3624, allocations: 23.97 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.3625, allocations: 39.88 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.3625, allocations: 12 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003885/0.3629, allocations: 314.9 kB / 1.326 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3629, allocations: 0 / 1.326 GB, free: 14.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007/0.3636, allocations: 176.1 kB / 1.326 GB, free: 14.42 MB / 1.029 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.002274/0.3659, allocations: 1.695 MB / 1.328 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.3676, allocations: 0.9542 MB / 1.329 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3676, allocations: 128 / 1.329 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3687, allocations: 0.6719 MB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.3696, allocations: 185.1 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.3781, allocations: 5.641 MB / 1.335 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.3788, allocations: 0.9493 MB / 1.336 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003792/0.3791, allocations: 109 kB / 1.336 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.3794, allocations: 215.4 kB / 1.336 GB, free: 3.57 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3794, allocations: 0 / 1.336 GB, free: 3.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.4376, allocations: 14.77 MB / 1.351 GB, free: 5.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.12, allocations: 10.28 kB / 1.351 GB, free: 5.074 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.649436332983896]