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.001871/0.001871, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002088/0.002088, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.812 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.721/2.721, allocations: 476 MB / 0.7699 GB, free: 4.746 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.002148/0.002148, allocations: 65.8 kB / 1.117 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3216, allocations: 169.9 MB / 1.283 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007761/0.3293, allocations: 5.363 MB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.3341, allocations: 2.623 MB / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.3344, allocations: 35.69 kB / 1.29 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3363, allocations: 0.6828 MB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008613/0.3371, allocations: 421.8 kB / 1.291 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.3381, allocations: 426.2 kB / 1.292 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3392, allocations: 0.9594 MB / 1.293 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.3398, allocations: 378.7 kB / 1.293 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.3403, allocations: 398.5 kB / 1.294 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.3409, allocations: 402.3 kB / 1.294 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.3409, allocations: 48 kB / 1.294 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.3415, allocations: 327.3 kB / 1.294 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.3417, allocations: 255.2 kB / 1.295 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.342, allocations: 286.7 kB / 1.295 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3431, allocations: 0.9923 MB / 1.296 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3431, allocations: 3.938 kB / 1.296 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3431, allocations: 0 / 1.296 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3431, allocations: 0 / 1.296 GB, free: 6.676 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.001577/0.3447, allocations: 0.9228 MB / 1.297 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3448, allocations: 16.02 kB / 1.297 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.3449, allocations: 94.7 kB / 1.297 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.3462, allocations: 196.3 kB / 1.297 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.3471, allocations: 480.8 kB / 1.297 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.3471, allocations: 37.36 kB / 1.297 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3473, allocations: 56.52 kB / 1.298 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3486, allocations: 0.9822 MB / 1.298 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.3486, allocations: 0 / 1.298 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.3486, allocations: 27.98 kB / 1.299 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.3488, allocations: 68.94 kB / 1.299 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.3498, allocations: 0.5696 MB / 1.299 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.3542, allocations: 3.573 MB / 1.303 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.3547, allocations: 271.3 kB / 1.303 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.355, allocations: 209.3 kB / 1.303 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.355, allocations: 4.281 kB / 1.303 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3551, allocations: 46.78 kB / 1.303 GB, free: 14.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.3551, allocations: 0 / 1.303 GB, free: 14.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005597/0.3607, allocations: 2.327 MB / 1.305 GB, free: 12.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3607, allocations: 59.34 kB / 1.305 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.3612, allocations: 481.8 kB / 1.306 GB, free: 11.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3613, allocations: 29.7 kB / 1.306 GB, free: 11.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3615, allocations: 356.5 kB / 1.306 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3617, allocations: 146.8 kB / 1.306 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.3618, allocations: 102.3 kB / 1.307 GB, free: 11.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.362, allocations: 362.8 kB / 1.307 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3624, allocations: 241.2 kB / 1.307 GB, free: 10.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.3629, allocations: 407.4 kB / 1.307 GB, free: 10.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009202/0.3638, allocations: 0.6739 MB / 1.308 GB, free: 9.414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3638, allocations: 4 kB / 1.308 GB, free: 9.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001698/0.3655, allocations: 0.9171 MB / 1.309 GB, free: 8.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3655, allocations: 8 kB / 1.309 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3655, allocations: 8 kB / 1.309 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.3663, allocations: 227 kB / 1.309 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.3669, allocations: 119.8 kB / 1.309 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00564/0.3725, allocations: 5.002 MB / 1.314 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.373, allocations: 27.97 kB / 1.314 GB, free: 2.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.3731, allocations: 28.12 kB / 1.314 GB, free: 2.711 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.0003456/0.3734, allocations: 225.6 kB / 1.315 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3735, allocations: 63.56 kB / 1.315 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.3751, allocations: 0.7657 MB / 1.315 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3751, allocations: 4 kB / 1.315 GB, free: 1.629 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3751, allocations: 4 kB / 1.315 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3751, allocations: 0 / 1.315 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.3778, allocations: 1.412 MB / 1.317 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3778, allocations: 0 / 1.317 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.3782, allocations: 71.89 kB / 1.317 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006986/0.3789, allocations: 206.6 kB / 1.317 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.3789, allocations: 8 kB / 1.317 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.3841, allocations: 4.928 MB / 1.322 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3841, allocations: 8.016 kB / 1.322 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.386, allocations: 1.131 MB / 1.323 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.3863, allocations: 103.5 kB / 1.323 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.3864, allocations: 8.188 kB / 1.323 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.3867, allocations: 35.95 kB / 1.323 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.3868, allocations: 31.94 kB / 1.323 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3868, allocations: 16 kB / 1.323 GB, free: 9.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000396/0.3872, allocations: 310.9 kB / 1.323 GB, free: 8.895 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3872, allocations: 4.062 kB / 1.323 GB, free: 8.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006771/0.3879, allocations: 168 kB / 1.324 GB, free: 8.727 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.002222/0.3901, allocations: 1.699 MB / 1.325 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.3918, allocations: 0.9581 MB / 1.326 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3918, allocations: 0 / 1.326 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3928, allocations: 0.6758 MB / 1.327 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008679/0.3937, allocations: 173.4 kB / 1.327 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.4019, allocations: 5.642 MB / 1.333 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.4023, allocations: 350.4 kB / 1.333 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003684/0.4027, allocations: 125 kB / 1.333 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.403, allocations: 207.4 kB / 1.333 GB, free: 14.47 MB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/0.403, allocations: 0 / 1.333 GB, free: 14.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05522/0.4582, allocations: 15.71 MB / 1.349 GB, free: 15.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.25, allocations: 5.812 kB / 1.349 GB, free: 15.13 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.671232600696385]