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.001379/0.001379, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001495/0.001495, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.711/2.711, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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="cs",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="cs",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.001988/0.001988, allocations: 68 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007592/0.3005, allocations: 5.353 MB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.3052, allocations: 2.619 MB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.3056, allocations: 31.69 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.3075, allocations: 0.6808 MB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000994/0.3085, allocations: 429.7 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3095, allocations: 407 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3107, allocations: 0.9555 MB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005764/0.3112, allocations: 390 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.3118, allocations: 390.6 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.3124, allocations: 434.3 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.3124, allocations: 48 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.313, allocations: 331.3 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.3133, allocations: 255.2 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3136, allocations: 294.6 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3147, allocations: 0.9806 MB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3147, allocations: 0 / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3147, allocations: 3.938 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3147, allocations: 0 / 1.297 GB, free: 13.11 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.0016/0.3163, allocations: 0.9363 MB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3164, allocations: 8.031 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.048e-05/0.3164, allocations: 17.17 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.3165, allocations: 102.7 kB / 1.298 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.3179, allocations: 204.3 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.3188, allocations: 464.9 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.3188, allocations: 41.36 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.319, allocations: 60.27 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3203, allocations: 0.9745 MB / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.3203, allocations: 7.938 kB / 1.3 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.3204, allocations: 27.97 kB / 1.3 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.3206, allocations: 64.95 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.3215, allocations: 0.5658 MB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.3256, allocations: 3.577 MB / 1.304 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3261, allocations: 275.3 kB / 1.304 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.3264, allocations: 205.3 kB / 1.305 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3264, allocations: 8.281 kB / 1.305 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3264, allocations: 42.83 kB / 1.305 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.3264, allocations: 0 / 1.305 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005686/0.3321, allocations: 2.327 MB / 1.307 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3322, allocations: 63.34 kB / 1.307 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3327, allocations: 466 kB / 1.307 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.3327, allocations: 37.7 kB / 1.308 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.333, allocations: 352.5 kB / 1.308 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3331, allocations: 154.7 kB / 1.308 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.3333, allocations: 102.3 kB / 1.308 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3335, allocations: 366.8 kB / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.3339, allocations: 229.2 kB / 1.309 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.3344, allocations: 415.3 kB / 1.309 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.3353, allocations: 0.67 MB / 1.31 GB, free: 15.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.3353, allocations: 4 kB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001757/0.3371, allocations: 0.9174 MB / 1.311 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3371, allocations: 11.98 kB / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3371, allocations: 4 kB / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/0.338, allocations: 226.7 kB / 1.311 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.3385, allocations: 115.8 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.3439, allocations: 5.002 MB / 1.316 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.3445, allocations: 35.97 kB / 1.316 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3445, allocations: 28.12 kB / 1.316 GB, free: 9.121 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.0003716/0.3449, allocations: 221.7 kB / 1.316 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.345, allocations: 63.62 kB / 1.316 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.3466, allocations: 0.7619 MB / 1.317 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3466, allocations: 4 kB / 1.317 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3466, allocations: 8 kB / 1.317 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3466, allocations: 3.984 kB / 1.317 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.349, allocations: 1.404 MB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.349, allocations: 4 kB / 1.318 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.3494, allocations: 67.88 kB / 1.318 GB, free: 6.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/0.3501, allocations: 210.5 kB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.3501, allocations: 8 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/0.3552, allocations: 4.936 MB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3552, allocations: 3.938 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.3571, allocations: 1.124 MB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.3573, allocations: 99.55 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.3574, allocations: 15.98 kB / 1.325 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3577, allocations: 23.97 kB / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3578, allocations: 39.88 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3578, allocations: 12 kB / 1.325 GB, free: 15.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003775/0.3582, allocations: 314.9 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3582, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006858/0.3589, allocations: 172 kB / 1.325 GB, free: 15.14 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.002113/0.361, allocations: 1.691 MB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.3627, allocations: 0.962 MB / 1.328 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3627, allocations: 4 kB / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3637, allocations: 0.6681 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009095/0.3647, allocations: 183.4 kB / 1.329 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/0.3728, allocations: 5.645 MB / 1.334 GB, free: 5.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3732, allocations: 350.3 kB / 1.334 GB, free: 5.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003532/0.3735, allocations: 113 kB / 1.335 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3738, allocations: 215.4 kB / 1.335 GB, free: 4.891 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3738, allocations: 0 / 1.335 GB, free: 4.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/0.4208, allocations: 15.51 MB / 1.35 GB, free: 5.781 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.42, allocations: 13.97 kB / 1.35 GB, free: 5.773 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: 20.061985115054995]