Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001721/0.001721, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002479/0.002479, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.284/3.284, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002151/0.002151, allocations: 66.86 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007494/0.3304, allocations: 5.372 MB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004501/0.3349, allocations: 2.635 MB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.3352, allocations: 31.69 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.3371, allocations: 0.6829 MB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008745/0.338, allocations: 421.8 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.3389, allocations: 419 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3399, allocations: 0.9594 MB / 1.374 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.3405, allocations: 370.6 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.341, allocations: 402.5 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.3415, allocations: 402.3 kB / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.3416, allocations: 48 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.3422, allocations: 331.3 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3425, allocations: 247.3 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.3428, allocations: 290.6 kB / 1.376 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.344, allocations: 0.9884 MB / 1.377 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.344, allocations: 0 / 1.377 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.344, allocations: 0 / 1.377 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.344, allocations: 0 / 1.377 GB, free: 0.5312 MB / 1.061 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.001619/0.3456, allocations: 0.9286 MB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3456, allocations: 8.031 kB / 1.378 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.3458, allocations: 98.69 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.3471, allocations: 200.2 kB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.348, allocations: 472.9 kB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.348, allocations: 33.38 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.3482, allocations: 56.53 kB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3495, allocations: 0.9872 MB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3495, allocations: 7.938 kB / 1.379 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.3496, allocations: 20 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.3497, allocations: 64.95 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.3507, allocations: 0.5774 MB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.355, allocations: 3.581 MB / 1.383 GB, free: 9.195 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3555, allocations: 271.3 kB / 1.384 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3558, allocations: 213.3 kB / 1.384 GB, free: 8.711 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3558, allocations: 4.281 kB / 1.384 GB, free: 8.707 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3559, allocations: 38.78 kB / 1.384 GB, free: 8.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.3559, allocations: 0 / 1.384 GB, free: 8.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.00565/0.3615, allocations: 2.33 MB / 1.386 GB, free: 6.277 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3616, allocations: 55.41 kB / 1.386 GB, free: 6.211 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.3621, allocations: 473.9 kB / 1.387 GB, free: 5.734 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.3621, allocations: 29.7 kB / 1.387 GB, free: 5.699 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.3624, allocations: 360.4 kB / 1.387 GB, free: 5.344 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3625, allocations: 154.7 kB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.3627, allocations: 102.3 kB / 1.387 GB, free: 5.086 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3629, allocations: 362.8 kB / 1.388 GB, free: 4.723 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3633, allocations: 245.1 kB / 1.388 GB, free: 4.484 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.3638, allocations: 403.4 kB / 1.388 GB, free: 4.012 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.3647, allocations: 0.674 MB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3647, allocations: 4 kB / 1.389 GB, free: 3.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001762/0.3665, allocations: 0.9178 MB / 1.39 GB, free: 2.328 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3665, allocations: 8 kB / 1.39 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3665, allocations: 4 kB / 1.39 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008204/0.3673, allocations: 230.5 kB / 1.39 GB, free: 2.082 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.3679, allocations: 115.8 kB / 1.39 GB, free: 1.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.3734, allocations: 5.006 MB / 1.395 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3738, allocations: 31.97 kB / 1.395 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.3739, allocations: 20 kB / 1.395 GB, free: 12.57 MB / 1.092 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.0003183/0.3742, allocations: 221.7 kB / 1.395 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3743, allocations: 63.67 kB / 1.395 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.3759, allocations: 0.7694 MB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3759, allocations: 4 kB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3759, allocations: 0 / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3759, allocations: 4 kB / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.3786, allocations: 1.4 MB / 1.398 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3786, allocations: 4 kB / 1.398 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.3789, allocations: 71.88 kB / 1.398 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/0.3796, allocations: 202.3 kB / 1.398 GB, free: 9.723 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.3797, allocations: 12.06 kB / 1.398 GB, free: 9.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.3849, allocations: 4.933 MB / 1.403 GB, free: 4.434 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3849, allocations: 11.91 kB / 1.403 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3869, allocations: 1.131 MB / 1.404 GB, free: 3.242 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.3872, allocations: 95.69 kB / 1.404 GB, free: 3.148 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.3873, allocations: 15.95 kB / 1.404 GB, free: 3.133 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.3876, allocations: 24.16 kB / 1.404 GB, free: 3.109 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3877, allocations: 39.88 kB / 1.404 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.3877, allocations: 16 kB / 1.404 GB, free: 3.055 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003793/0.3881, allocations: 318.9 kB / 1.404 GB, free: 2.746 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 3.938 kB / 1.404 GB, free: 2.742 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006571/0.3888, allocations: 164 kB / 1.404 GB, free: 2.582 MB / 1.092 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.002208/0.391, allocations: 1.69 MB / 1.406 GB, free: 0.832 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.3927, allocations: 0.9695 MB / 1.407 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3927, allocations: 3.938 kB / 1.407 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3937, allocations: 0.6564 MB / 1.408 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.3946, allocations: 187.7 kB / 1.408 GB, free: 14.95 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.4029, allocations: 5.658 MB / 1.413 GB, free: 9.016 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4033, allocations: 350.3 kB / 1.414 GB, free: 8.648 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.4037, allocations: 117 kB / 1.414 GB, free: 8.531 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.404, allocations: 207.4 kB / 1.414 GB, free: 8.328 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/0.404, allocations: 0 / 1.414 GB, free: 8.328 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/0.4598, allocations: 15.71 MB / 1.429 GB, free: 8.973 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.32, allocations: 7.547 kB / 1.429 GB, free: 8.969 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.10185708012432]