Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001798/0.001798, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002211/0.002211, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001997/0.001997, allocations: 74.47 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.0096/0.3092, allocations: 7.074 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3146, allocations: 3.231 MB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.3152, allocations: 43.62 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.3179, allocations: 0.9861 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.3192, allocations: 0.5206 MB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3203, allocations: 454.2 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.3218, allocations: 1.229 MB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.3227, allocations: 0.5373 MB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.3235, allocations: 490.2 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.3244, allocations: 0.5565 MB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3245, allocations: 68 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007311/0.3252, allocations: 387.2 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.3256, allocations: 319.1 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.3262, allocations: 453.7 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.3277, allocations: 1.226 MB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3277, allocations: 0 / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3277, allocations: 0 / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.3277, allocations: 0 / 1.343 GB, free: 336 kB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002252/0.33, allocations: 1.125 MB / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.33, allocations: 8.031 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.3302, allocations: 122.7 kB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3317, allocations: 244.1 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3328, allocations: 0.5321 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3329, allocations: 53.66 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.333, allocations: 68.3 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.3345, allocations: 1.089 MB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.3346, allocations: 11.89 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.3346, allocations: 31.98 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.3348, allocations: 85.25 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.336, allocations: 0.7504 MB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.3416, allocations: 5.803 MB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.3426, allocations: 0.5141 MB / 1.353 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.343, allocations: 286 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.3431, allocations: 4.438 kB / 1.353 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3431, allocations: 42.94 kB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.3431, allocations: 0 / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00376/0.3469, allocations: 1.682 MB / 1.355 GB, free: 3.266 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3469, allocations: 55.84 kB / 1.355 GB, free: 3.199 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.3476, allocations: 0.5626 MB / 1.356 GB, free: 2.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.3476, allocations: 33.7 kB / 1.356 GB, free: 2.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.3479, allocations: 432 kB / 1.356 GB, free: 2.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.3481, allocations: 182.5 kB / 1.356 GB, free: 1.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3483, allocations: 130.6 kB / 1.357 GB, free: 1.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3485, allocations: 374.7 kB / 1.357 GB, free: 1.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.3489, allocations: 277.8 kB / 1.357 GB, free: 1.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.3495, allocations: 489.5 kB / 1.358 GB, free: 0.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3505, allocations: 0.8162 MB / 1.358 GB, free: 15.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3505, allocations: 0 / 1.358 GB, free: 15.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001966/0.3525, allocations: 1.081 MB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3525, allocations: 9.562 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3525, allocations: 4 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009044/0.3534, allocations: 279.9 kB / 1.36 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.3539, allocations: 127.8 kB / 1.36 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.3611, allocations: 6.725 MB / 1.366 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.3617, allocations: 39.97 kB / 1.366 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.3618, allocations: 31.98 kB / 1.366 GB, free: 6.926 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004027/0.3622, allocations: 262.6 kB / 1.367 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3623, allocations: 79.47 kB / 1.367 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.364, allocations: 0.8808 MB / 1.368 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.364, allocations: 4 kB / 1.368 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.364, allocations: 4 kB / 1.368 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.364, allocations: 0 / 1.368 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.3668, allocations: 1.688 MB / 1.369 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.3668, allocations: 7.938 kB / 1.369 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3671, allocations: 59.89 kB / 1.369 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00077/0.3679, allocations: 279.3 kB / 1.37 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3679, allocations: 4 kB / 1.37 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.3745, allocations: 6.713 MB / 1.376 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3745, allocations: 3.938 kB / 1.376 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3761, allocations: 0.9764 MB / 1.377 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.3765, allocations: 119.5 kB / 1.377 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3766, allocations: 11.94 kB / 1.377 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.377, allocations: 31.95 kB / 1.377 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3771, allocations: 51.86 kB / 1.377 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.3771, allocations: 16 kB / 1.377 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004759/0.3776, allocations: 387.1 kB / 1.378 GB, free: 10.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3776, allocations: 0 / 1.378 GB, free: 10.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008036/0.3784, allocations: 220 kB / 1.378 GB, free: 10.53 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.3803, allocations: 1.537 MB / 1.379 GB, free: 8.934 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.3823, allocations: 1.247 MB / 1.381 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3823, allocations: 0 / 1.381 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.3836, allocations: 0.858 MB / 1.382 GB, free: 6.727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3846, allocations: 224.2 kB / 1.382 GB, free: 6.512 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.3938, allocations: 6.414 MB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.3945, allocations: 1.005 MB / 1.389 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000411/0.3949, allocations: 126 kB / 1.389 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.3953, allocations: 255.3 kB / 1.389 GB, free: 14.36 MB / 1.092 GB Notification: Performance of SimCode: time 9.52e-07/0.3953, allocations: 4 kB / 1.389 GB, free: 14.36 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.4555, allocations: 18.18 MB / 1.407 GB, free: 12.49 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.95, allocations: 13.75 kB / 1.407 GB, free: 12.48 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.463567885104567]