Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001774/0.001774, allocations: 111.6 kB / 18.13 MB, free: 3.684 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.002112/0.002112, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 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.494/1.494, allocations: 225.6 MB / 250.2 MB, free: 13.3 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.766/2.766, allocations: 476.7 MB / 0.7637 GB, free: 10.11 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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 1.108 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7734, allocations: 168.7 MB / 1.273 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03027/0.8037, allocations: 23.63 MB / 1.296 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.8156, allocations: 6.393 MB / 1.302 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.8172, allocations: 91.56 kB / 1.302 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.8215, allocations: 1.614 MB / 1.304 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.8253, allocations: 1.723 MB / 1.306 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.8286, allocations: 1.397 MB / 1.307 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007404/0.836, allocations: 5.928 MB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005554/0.8416, allocations: 2.971 MB / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.8455, allocations: 2.442 MB / 1.318 GB, free: 5.941 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.8502, allocations: 3.08 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008483/0.8511, allocations: 456 kB / 1.321 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.8535, allocations: 1.123 MB / 1.322 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.856, allocations: 2.077 MB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.8589, allocations: 2.17 MB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008695/0.8676, allocations: 7.31 MB / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8676, allocations: 0 / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8677, allocations: 0 / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001458/0.8678, allocations: 0 / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008127/0.8759, allocations: 3.921 MB / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.876, allocations: 8.031 kB / 1.338 GB, free: 1.691 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008591/0.8768, allocations: 0.5054 MB / 1.338 GB, free: 1.176 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/0.8833, allocations: 1.227 MB / 1.339 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.8891, allocations: 2.345 MB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.8893, allocations: 242.4 kB / 1.342 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006833/0.89, allocations: 319.9 kB / 1.342 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.9017, allocations: 6.216 MB / 1.348 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.494e-05/0.9018, allocations: 15.88 kB / 1.348 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.9023, allocations: 136 kB / 1.348 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005378/0.9028, allocations: 406.3 kB / 1.349 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008837/0.9116, allocations: 4.662 MB / 1.353 GB, free: 1.301 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.9488, allocations: 28.99 MB / 1.382 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.9509, allocations: 1.369 MB / 1.383 GB, free: 220 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.9529, allocations: 1.452 MB / 1.384 GB, free: 14.76 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.9529, allocations: 13 kB / 1.384 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.953, allocations: 43.5 kB / 1.384 GB, free: 14.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.916e-06/0.953, allocations: 0 / 1.384 GB, free: 14.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.156/1.109, allocations: 37.15 MB / 1.421 GB, free: 9.477 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/1.109, allocations: 77.34 kB / 1.421 GB, free: 9.387 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.111, allocations: 1.415 MB / 1.422 GB, free: 7.965 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/1.111, allocations: 57.64 kB / 1.422 GB, free: 7.902 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.113, allocations: 1.586 MB / 1.424 GB, free: 6.301 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/1.113, allocations: 0.6429 MB / 1.424 GB, free: 5.652 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007542/1.114, allocations: 383.5 kB / 1.425 GB, free: 5.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.114, allocations: 301.1 kB / 1.425 GB, free: 4.973 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/1.117, allocations: 1.784 MB / 1.427 GB, free: 3.184 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/1.12, allocations: 2.35 MB / 1.429 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/1.126, allocations: 4.387 MB / 1.433 GB, free: 11.96 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/1.126, allocations: 12 kB / 1.433 GB, free: 11.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01922/1.145, allocations: 8.427 MB / 1.442 GB, free: 3.484 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.146, allocations: 12 kB / 1.442 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/1.146, allocations: 20 kB / 1.442 GB, free: 3.453 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/1.161, allocations: 4.637 MB / 1.446 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.162, allocations: 303.4 kB / 1.446 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05161/1.214, allocations: 32.61 MB / 1.478 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.216, allocations: 151.8 kB / 1.478 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/1.216, allocations: 80 kB / 1.479 GB, free: 12.8 MB / 1.186 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002209/1.219, allocations: 1.337 MB / 1.48 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004274/1.219, allocations: 210.7 kB / 1.48 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/1.237, allocations: 8.292 MB / 1.488 GB, free: 2.906 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.237, allocations: 16 kB / 1.488 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/1.238, allocations: 27.94 kB / 1.488 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/1.238, allocations: 11.95 kB / 1.488 GB, free: 2.852 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/1.264, allocations: 12.69 MB / 1.501 GB, free: 5.984 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.264, allocations: 15.94 kB / 1.501 GB, free: 5.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/1.264, allocations: 163.7 kB / 1.501 GB, free: 5.809 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/1.279, allocations: 4.491 MB / 1.505 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002624/1.28, allocations: 36 kB / 1.505 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05047/1.33, allocations: 32.23 MB / 1.537 GB, free: 200 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.33, allocations: 11.94 kB / 1.537 GB, free: 188 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.348, allocations: 8.101 MB / 1.545 GB, free: 7.953 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.35, allocations: 0.6167 MB / 1.545 GB, free: 7.316 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.35, allocations: 44.09 kB / 1.545 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.352, allocations: 135.8 kB / 1.545 GB, free: 7.141 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007916/1.352, allocations: 172.9 kB / 1.545 GB, free: 6.973 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.353, allocations: 52 kB / 1.546 GB, free: 6.922 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00142/1.354, allocations: 0.9626 MB / 1.546 GB, free: 5.965 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.354, allocations: 0 / 1.546 GB, free: 5.965 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003582/1.358, allocations: 1.113 MB / 1.548 GB, free: 4.852 MB / 1.248 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01787/1.376, allocations: 8.704 MB / 1.556 GB, free: 12.01 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.389, allocations: 6.319 MB / 1.562 GB, free: 5.602 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.389, allocations: 0 / 1.562 GB, free: 5.602 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.399, allocations: 4.179 MB / 1.566 GB, free: 1.344 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.402, allocations: 0.5152 MB / 1.567 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0648/1.467, allocations: 33.56 MB / 1.6 GB, free: 14.35 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003457/1.47, allocations: 2.719 MB / 1.602 GB, free: 11.6 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00109/1.471, allocations: 392.5 kB / 1.603 GB, free: 11.21 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.473, allocations: 1.21 MB / 1.604 GB, free: 10 MB / 1.311 GB Notification: Performance of SimCode: time 1.363e-06/1.473, allocations: 0 / 1.604 GB, free: 10 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7776/2.25, allocations: 85.17 MB / 1.687 GB, free: 275.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.81, allocations: 11.94 kB / 1.687 GB, free: 275.5 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 22.27787273703143]