Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001221/0.001221, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001409/0.001409, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.618/2.618, allocations: 476.7 MB / 0.7715 GB, free: 4.281 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001929/0.001929, allocations: 64.47 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02895/0.3176, allocations: 24.47 MB / 1.308 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.3318, allocations: 6.702 MB / 1.315 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.3347, allocations: 123.1 kB / 1.315 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004/0.3387, allocations: 1.566 MB / 1.316 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.3431, allocations: 1.937 MB / 1.318 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.3469, allocations: 1.506 MB / 1.32 GB, free: 7.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008633/0.3555, allocations: 6.912 MB / 1.326 GB, free: 404 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006853/0.3624, allocations: 3.777 MB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/0.3669, allocations: 2.906 MB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005962/0.3729, allocations: 3.739 MB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.3743, allocations: 0.5273 MB / 1.337 GB, free: 5.332 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3774, allocations: 1.202 MB / 1.338 GB, free: 4.129 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.3805, allocations: 2.533 MB / 1.341 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003178/0.3837, allocations: 2.528 MB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009363/0.3931, allocations: 8.546 MB / 1.352 GB, free: 6.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3931, allocations: 0 / 1.352 GB, free: 6.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3931, allocations: 0 / 1.352 GB, free: 6.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002115/0.3933, allocations: 0 / 1.352 GB, free: 6.48 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008786/0.4021, allocations: 4.475 MB / 1.356 GB, free: 1.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4021, allocations: 12.03 kB / 1.356 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001049/0.4022, allocations: 99.55 kB / 1.356 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008322/0.4031, allocations: 0.5792 MB / 1.357 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.4114, allocations: 1.691 MB / 1.358 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005685/0.4171, allocations: 2.672 MB / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.4173, allocations: 271.7 kB / 1.361 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007263/0.418, allocations: 368.3 kB / 1.361 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.4312, allocations: 7.486 MB / 1.369 GB, free: 4.457 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.4313, allocations: 19.83 kB / 1.369 GB, free: 4.438 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005657/0.4318, allocations: 155.9 kB / 1.369 GB, free: 4.285 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006247/0.4325, allocations: 491.3 kB / 1.369 GB, free: 3.805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.4427, allocations: 5.697 MB / 1.375 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04001/0.4827, allocations: 31.27 MB / 1.405 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.4858, allocations: 2.015 MB / 1.407 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/0.489, allocations: 2.104 MB / 1.409 GB, free: 7.922 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.4892, allocations: 17.31 kB / 1.41 GB, free: 7.906 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.4892, allocations: 43.88 kB / 1.41 GB, free: 7.852 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/0.4892, allocations: 0 / 1.41 GB, free: 7.852 MB / 1.107 GB Notification: Performance of matching and sorting (n=251): time 0.3066/0.7959, allocations: 76.72 MB / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.7959, allocations: 85.28 kB / 1.485 GB, free: 10.91 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.7985, allocations: 1.67 MB / 1.486 GB, free: 9.191 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.7989, allocations: 61.7 kB / 1.486 GB, free: 9.125 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.8003, allocations: 1.795 MB / 1.488 GB, free: 7.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.8013, allocations: 0.8946 MB / 1.489 GB, free: 6.402 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.8026, allocations: 489.3 kB / 1.489 GB, free: 5.918 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8027, allocations: 305.1 kB / 1.49 GB, free: 5.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.8067, allocations: 2.73 MB / 1.492 GB, free: 2.883 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.8112, allocations: 3.328 MB / 1.496 GB, free: 15.31 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/0.8202, allocations: 6.393 MB / 1.502 GB, free: 8.676 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.8202, allocations: 4 kB / 1.502 GB, free: 8.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03388/0.8541, allocations: 14.42 MB / 1.516 GB, free: 10.21 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.8541, allocations: 14.03 kB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.8542, allocations: 20.78 kB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03087/0.885, allocations: 9.233 MB / 1.525 GB, free: 0.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.8863, allocations: 303.4 kB / 1.525 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08494/0.9713, allocations: 51.78 MB / 1.576 GB, free: 12.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.9743, allocations: 227.7 kB / 1.576 GB, free: 11.88 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005588/0.9748, allocations: 96 kB / 1.576 GB, free: 11.79 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003265/0.9781, allocations: 1.587 MB / 1.578 GB, free: 10.19 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007477/0.9789, allocations: 254.6 kB / 1.578 GB, free: 9.938 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03414/1.013, allocations: 14.47 MB / 1.592 GB, free: 11.41 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.013, allocations: 24 kB / 1.592 GB, free: 11.38 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001299/1.013, allocations: 47.94 kB / 1.592 GB, free: 11.34 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/1.013, allocations: 11.95 kB / 1.592 GB, free: 11.32 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6601/1.673, allocations: 20.21 MB / 1.612 GB, free: 290.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/1.673, allocations: 10.53 kB / 1.612 GB, free: 290.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008147/1.674, allocations: 158.1 kB / 1.612 GB, free: 290.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02781/1.702, allocations: 9.006 MB / 1.621 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/1.702, allocations: 50.47 kB / 1.621 GB, free: 290.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06883/1.771, allocations: 51.34 MB / 1.671 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.771, allocations: 11.94 kB / 1.671 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02615/1.797, allocations: 14.1 MB / 1.685 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.799, allocations: 0.7754 MB / 1.686 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/1.8, allocations: 55.98 kB / 1.686 GB, free: 243.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.802, allocations: 203.7 kB / 1.686 GB, free: 243.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/1.803, allocations: 257.3 kB / 1.686 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/1.803, allocations: 64 kB / 1.686 GB, free: 243.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001081/1.804, allocations: 1.133 MB / 1.687 GB, free: 242.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.804, allocations: 0 / 1.687 GB, free: 242.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00356/1.808, allocations: 1.609 MB / 1.689 GB, free: 240.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03401/1.842, allocations: 14.7 MB / 1.703 GB, free: 225.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01934/1.861, allocations: 10.2 MB / 1.713 GB, free: 215.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.861, allocations: 4 kB / 1.713 GB, free: 215.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01489/1.876, allocations: 7.014 MB / 1.72 GB, free: 208.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.879, allocations: 0.5598 MB / 1.72 GB, free: 207.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08517/1.964, allocations: 50.52 MB / 1.77 GB, free: 156.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004465/1.968, allocations: 3.231 MB / 1.773 GB, free: 153.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001224/1.97, allocations: 395.3 kB / 1.773 GB, free: 152.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.971, allocations: 1.46 MB / 1.775 GB, free: 151.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.813e-06/1.971, allocations: 0 / 1.775 GB, free: 151.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/2.148, allocations: 124.7 MB / 1.897 GB, free: 27.02 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/18.25, allocations: 14.17 kB / 1.897 GB, free: 27.02 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 25.48148538597161]