Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00129/0.00129, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001456/0.001456, allocations: 212.1 kB / 23.04 MB, free: 5.078 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.138/3.138, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001864/0.001864, allocations: 63.8 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01946/0.3466, allocations: 15.36 MB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3632, allocations: 10.75 MB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.3653, allocations: 83.25 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.37, allocations: 1.762 MB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.3754, allocations: 1.852 MB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.3776, allocations: 0.7781 MB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004478/0.382, allocations: 2.751 MB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.3838, allocations: 1.203 MB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.3863, allocations: 1.559 MB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.3883, allocations: 1.23 MB / 1.382 GB, free: 10.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.3885, allocations: 160 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3901, allocations: 0.8071 MB / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006317/0.3907, allocations: 0.6191 MB / 1.383 GB, free: 9.406 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.3918, allocations: 0.9483 MB / 1.384 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.3951, allocations: 2.775 MB / 1.387 GB, free: 5.668 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3951, allocations: 3.938 kB / 1.387 GB, free: 5.664 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3951, allocations: 3.984 kB / 1.387 GB, free: 5.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.3951, allocations: 0 / 1.387 GB, free: 5.66 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00393/0.3991, allocations: 2.151 MB / 1.389 GB, free: 3.469 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3991, allocations: 16.03 kB / 1.389 GB, free: 3.453 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.598e-05/0.3991, allocations: 42.44 kB / 1.389 GB, free: 3.41 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/0.3994, allocations: 190.4 kB / 1.389 GB, free: 3.215 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.4115, allocations: 2.117 MB / 1.391 GB, free: 1.094 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.4145, allocations: 1.229 MB / 1.393 GB, free: 15.81 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.4146, allocations: 90.36 kB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.4148, allocations: 120 kB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00646/0.4213, allocations: 2.667 MB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.4214, allocations: 11.89 kB / 1.395 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.4215, allocations: 55.97 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006896/0.4222, allocations: 194.1 kB / 1.396 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/0.4304, allocations: 2.795 MB / 1.398 GB, free: 9.73 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.4477, allocations: 10.36 MB / 1.408 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/0.4548, allocations: 2.195 MB / 1.411 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.4581, allocations: 1.198 MB / 1.412 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.4581, allocations: 9 kB / 1.412 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.4582, allocations: 43.56 kB / 1.412 GB, free: 11.33 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.4582, allocations: 0 / 1.412 GB, free: 11.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=153): time 0.0633/0.5215, allocations: 16 MB / 1.427 GB, free: 11.28 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5216, allocations: 64.72 kB / 1.428 GB, free: 11.2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.5232, allocations: 1.18 MB / 1.429 GB, free: 10.01 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.5234, allocations: 49.7 kB / 1.429 GB, free: 9.953 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006259/0.5241, allocations: 0.7568 MB / 1.429 GB, free: 9.195 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.5246, allocations: 0.5383 MB / 1.43 GB, free: 8.652 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.5253, allocations: 291.5 kB / 1.43 GB, free: 8.363 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5254, allocations: 305.1 kB / 1.431 GB, free: 8.062 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/0.5293, allocations: 1.507 MB / 1.432 GB, free: 6.555 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/0.5334, allocations: 1.78 MB / 1.434 GB, free: 4.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008008/0.5414, allocations: 3.373 MB / 1.437 GB, free: 1.211 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5414, allocations: 0 / 1.437 GB, free: 1.211 MB / 1.123 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01475/0.5561, allocations: 5.215 MB / 1.442 GB, free: 11.96 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.5562, allocations: 9.562 kB / 1.442 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5562, allocations: 7.984 kB / 1.442 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007215/0.5634, allocations: 1.88 MB / 1.444 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.5655, allocations: 415.2 kB / 1.444 GB, free: 9.633 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/0.5977, allocations: 23.34 MB / 1.467 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.6006, allocations: 311.4 kB / 1.467 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.6008, allocations: 67.97 kB / 1.468 GB, free: 1.016 MB / 1.154 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009575/0.6018, allocations: 457.5 kB / 1.468 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.6022, allocations: 186.9 kB / 1.468 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.6169, allocations: 5.249 MB / 1.473 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.617, allocations: 16 kB / 1.473 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/0.617, allocations: 16 kB / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.617, allocations: 7.969 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/0.6356, allocations: 7.332 MB / 1.48 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6356, allocations: 4 kB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.6374, allocations: 355.7 kB / 1.481 GB, free: 3.234 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006378/0.6438, allocations: 1.695 MB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.644, allocations: 47.91 kB / 1.483 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03039/0.6744, allocations: 22.52 MB / 1.505 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6744, allocations: 4 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.6878, allocations: 4.826 MB / 1.509 GB, free: 5.129 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.689, allocations: 430.6 kB / 1.51 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.6893, allocations: 31.92 kB / 1.51 GB, free: 4.676 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.6916, allocations: 315.5 kB / 1.51 GB, free: 4.367 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005607/0.6922, allocations: 164.9 kB / 1.51 GB, free: 4.203 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6923, allocations: 47.97 kB / 1.51 GB, free: 4.156 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001143/0.6935, allocations: 0.7899 MB / 1.511 GB, free: 3.367 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6935, allocations: 4 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00205/0.6955, allocations: 0.6523 MB / 1.512 GB, free: 2.711 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01413/0.7097, allocations: 5.419 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01264/0.7223, allocations: 4.921 MB / 1.522 GB, free: 8.176 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.7223, allocations: 0 / 1.522 GB, free: 8.176 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007841/0.7302, allocations: 3.277 MB / 1.525 GB, free: 4.797 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.7329, allocations: 0.5559 MB / 1.525 GB, free: 4.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/0.783, allocations: 21.79 MB / 1.547 GB, free: 13.95 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.7845, allocations: 1.568 MB / 1.548 GB, free: 12.35 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001522/0.7861, allocations: 378.4 kB / 1.549 GB, free: 11.98 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7871, allocations: 0.6554 MB / 1.549 GB, free: 11.32 MB / 1.248 GB Notification: Performance of SimCode: time 1.322e-06/0.7871, allocations: 0 / 1.549 GB, free: 11.32 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7588/1.546, allocations: 60.79 MB / 1.609 GB, free: 246.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.7/23.24, allocations: 5.391 kB / 1.609 GB, free: 246.9 MB / 1.295 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 30.297158945002593]