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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.88 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7997, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02999/0.8297, allocations: 23.79 MB / 1.292 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.8426, allocations: 6.539 MB / 1.298 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.8452, allocations: 99.5 kB / 1.298 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004578/0.8498, allocations: 1.527 MB / 1.3 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.8546, allocations: 1.941 MB / 1.302 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.8585, allocations: 1.468 MB / 1.303 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008877/0.8674, allocations: 6.904 MB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008769/0.8762, allocations: 5.188 MB / 1.315 GB, free: 5.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.8811, allocations: 2.874 MB / 1.318 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00599/0.8871, allocations: 3.735 MB / 1.322 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.8885, allocations: 0.5273 MB / 1.322 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.8918, allocations: 1.194 MB / 1.323 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/0.8954, allocations: 2.529 MB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004284/0.8997, allocations: 2.536 MB / 1.328 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.911, allocations: 8.537 MB / 1.337 GB, free: 15.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.911, allocations: 4 kB / 1.337 GB, free: 15.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.911, allocations: 0 / 1.337 GB, free: 15.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001849/0.9112, allocations: 0 / 1.337 GB, free: 15.5 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.009832/0.921, allocations: 4.551 MB / 1.341 GB, free: 10.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.921, allocations: 8.031 kB / 1.341 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001017/0.922, allocations: 0.5753 MB / 1.342 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00858/0.9306, allocations: 1.703 MB / 1.343 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/0.9374, allocations: 2.705 MB / 1.346 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.9377, allocations: 279.7 kB / 1.346 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009865/0.9387, allocations: 360.2 kB / 1.346 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.9519, allocations: 7.494 MB / 1.354 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/0.952, allocations: 11.94 kB / 1.354 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004522/0.9525, allocations: 163.9 kB / 1.354 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006004/0.9531, allocations: 487.3 kB / 1.354 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.9648, allocations: 5.693 MB / 1.36 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/1.006, allocations: 31.56 MB / 1.391 GB, free: 4.762 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/1.009, allocations: 2.015 MB / 1.393 GB, free: 2.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/1.012, allocations: 2.104 MB / 1.395 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.012, allocations: 21.3 kB / 1.395 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/1.012, allocations: 47.88 kB / 1.395 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/1.012, allocations: 4 kB / 1.395 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.2952/1.307, allocations: 76.8 MB / 1.47 GB, free: 3.605 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.307, allocations: 77.41 kB / 1.47 GB, free: 3.516 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/1.31, allocations: 1.674 MB / 1.472 GB, free: 1.797 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004495/1.31, allocations: 65.7 kB / 1.472 GB, free: 1.727 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.312, allocations: 1.788 MB / 1.473 GB, free: 15.92 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.313, allocations: 0.9024 MB / 1.474 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.314, allocations: 489.3 kB / 1.475 GB, free: 14.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.314, allocations: 309.1 kB / 1.475 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.318, allocations: 2.726 MB / 1.478 GB, free: 11.49 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/1.323, allocations: 3.332 MB / 1.481 GB, free: 7.914 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009463/1.333, allocations: 6.393 MB / 1.487 GB, free: 1.281 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/1.333, allocations: 8 kB / 1.487 GB, free: 1.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03403/1.367, allocations: 14.4 MB / 1.501 GB, free: 2.816 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/1.367, allocations: 12 kB / 1.501 GB, free: 2.805 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.367, allocations: 20.16 kB / 1.501 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03009/1.397, allocations: 9.237 MB / 1.51 GB, free: 9.523 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.398, allocations: 295.5 kB / 1.511 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08748/1.486, allocations: 52.41 MB / 1.562 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.488, allocations: 223.7 kB / 1.562 GB, free: 3.73 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/1.489, allocations: 99.98 kB / 1.562 GB, free: 3.633 MB / 1.264 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.003295/1.492, allocations: 1.579 MB / 1.564 GB, free: 2.043 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007661/1.493, allocations: 258.5 kB / 1.564 GB, free: 1.789 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03426/1.527, allocations: 14.48 MB / 1.578 GB, free: 3.254 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.527, allocations: 24 kB / 1.578 GB, free: 3.23 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001591/1.527, allocations: 44 kB / 1.578 GB, free: 3.188 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-05/1.527, allocations: 15.95 kB / 1.578 GB, free: 3.172 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04482/1.572, allocations: 20.24 MB / 1.598 GB, free: 14.73 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/1.572, allocations: 12.06 kB / 1.598 GB, free: 14.72 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/1.573, allocations: 159.7 kB / 1.598 GB, free: 14.56 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02929/1.602, allocations: 9.009 MB / 1.607 GB, free: 5.527 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.603, allocations: 51.94 kB / 1.607 GB, free: 5.477 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6772/2.28, allocations: 51.95 MB / 1.658 GB, free: 302 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.28, allocations: 9.594 kB / 1.658 GB, free: 302 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/2.305, allocations: 14.1 MB / 1.671 GB, free: 290.9 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/2.308, allocations: 0.8546 MB / 1.672 GB, free: 290 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006291/2.309, allocations: 52.83 kB / 1.672 GB, free: 289.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/2.311, allocations: 203.7 kB / 1.672 GB, free: 289.7 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.312, allocations: 246 kB / 1.673 GB, free: 289.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/2.312, allocations: 69.08 kB / 1.673 GB, free: 289.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001222/2.313, allocations: 1.125 MB / 1.674 GB, free: 288.3 MB / 1.311 GB Notification: Performance of sort global known variables: time 9.1e-08/2.313, allocations: 0 / 1.674 GB, free: 288.3 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004377/2.318, allocations: 1.613 MB / 1.675 GB, free: 286.7 MB / 1.311 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.02541/2.343, allocations: 14.72 MB / 1.69 GB, free: 271.8 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01816/2.361, allocations: 10.19 MB / 1.7 GB, free: 261.6 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/2.361, allocations: 0 / 1.7 GB, free: 261.6 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/2.376, allocations: 7.022 MB / 1.707 GB, free: 254.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/2.378, allocations: 0.5488 MB / 1.707 GB, free: 254 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07887/2.457, allocations: 50.39 MB / 1.756 GB, free: 202.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/2.46, allocations: 3.224 MB / 1.76 GB, free: 199.3 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001066/2.461, allocations: 391.3 kB / 1.76 GB, free: 198.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.462, allocations: 1.464 MB / 1.761 GB, free: 197.5 MB / 1.311 GB Notification: Performance of SimCode: time 1.202e-06/2.462, allocations: 4 kB / 1.761 GB, free: 197.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/2.623, allocations: 121.8 MB / 1.88 GB, free: 76.19 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/17.57, allocations: 5.734 kB / 1.88 GB, free: 76.19 MB / 1.311 GB " [Timeout remaining time 282] (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_2/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: 24.08054629387334]