Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001871/0.001871, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002725/0.002725, allocations: 215.8 kB / 22.26 MB, free: 5.113 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.996 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.123/3.123, allocations: 0.49 GB / 0.7951 GB, free: 33.54 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001957/0.001957, allocations: 71.48 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3619, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01385/0.3758, allocations: 10.48 MB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006116/0.3819, allocations: 3.166 MB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009642/0.3828, allocations: 43.69 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3851, allocations: 0.7092 MB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.387, allocations: 0.7274 MB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3887, allocations: 0.663 MB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.3922, allocations: 2.734 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.3946, allocations: 1.379 MB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.3966, allocations: 1.153 MB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.399, allocations: 1.496 MB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005797/0.3996, allocations: 220 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.401, allocations: 499.3 kB / 1.349 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.4025, allocations: 1.005 MB / 1.35 GB, free: 9.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.4043, allocations: 1.019 MB / 1.351 GB, free: 8.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.4086, allocations: 3.415 MB / 1.354 GB, free: 5.137 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4086, allocations: 0 / 1.354 GB, free: 5.137 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4086, allocations: 0 / 1.354 GB, free: 5.137 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.939e-05/0.4087, allocations: 0 / 1.354 GB, free: 5.137 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004775/0.4135, allocations: 1.914 MB / 1.356 GB, free: 3.184 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4135, allocations: 15.97 kB / 1.356 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005679/0.4141, allocations: 252.7 kB / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/0.4195, allocations: 0.9009 MB / 1.357 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.4221, allocations: 1.12 MB / 1.358 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4222, allocations: 111.3 kB / 1.358 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/0.4226, allocations: 144.3 kB / 1.358 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/0.4279, allocations: 3.017 MB / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.428, allocations: 7.891 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.4282, allocations: 67.97 kB / 1.361 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.4284, allocations: 179 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/0.433, allocations: 2.608 MB / 1.364 GB, free: 10.62 MB / 1.061 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.01759/0.4506, allocations: 13.38 MB / 1.377 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.4525, allocations: 1.225 MB / 1.378 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4539, allocations: 0.976 MB / 1.379 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.454, allocations: 12.64 kB / 1.379 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.454, allocations: 47.22 kB / 1.379 GB, free: 9.871 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.454, allocations: 0 / 1.379 GB, free: 9.871 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.06844/0.5225, allocations: 18.88 MB / 1.398 GB, free: 6.961 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.5225, allocations: 68.72 kB / 1.398 GB, free: 6.879 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.5243, allocations: 0.9222 MB / 1.399 GB, free: 5.941 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.5245, allocations: 49.7 kB / 1.399 GB, free: 5.887 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.5251, allocations: 0.7424 MB / 1.399 GB, free: 5.133 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006069/0.5257, allocations: 0.5074 MB / 1.4 GB, free: 4.621 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006979/0.5264, allocations: 295.5 kB / 1.4 GB, free: 4.328 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5267, allocations: 349.9 kB / 1.401 GB, free: 3.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.5288, allocations: 1.343 MB / 1.402 GB, free: 2.637 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.531, allocations: 1.655 MB / 1.403 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.5355, allocations: 3.092 MB / 1.407 GB, free: 13.66 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.5355, allocations: 4 kB / 1.407 GB, free: 13.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01174/0.5472, allocations: 5.551 MB / 1.412 GB, free: 8.078 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5473, allocations: 13.5 kB / 1.412 GB, free: 8.066 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5473, allocations: 8 kB / 1.412 GB, free: 8.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008656/0.556, allocations: 2.723 MB / 1.415 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.5567, allocations: 191.7 kB / 1.415 GB, free: 5.137 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03823/0.5949, allocations: 25.33 MB / 1.44 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5964, allocations: 91.95 kB / 1.44 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.5968, allocations: 56 kB / 1.44 GB, free: 11.19 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001538/0.5983, allocations: 0.7354 MB / 1.44 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.5987, allocations: 123.2 kB / 1.441 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6103, allocations: 5.318 MB / 1.446 GB, free: 4.969 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.6104, allocations: 19.94 kB / 1.446 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.405e-05/0.6104, allocations: 16 kB / 1.446 GB, free: 4.934 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.6104, allocations: 7.969 kB / 1.446 GB, free: 4.926 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.6277, allocations: 8.59 MB / 1.454 GB, free: 12.22 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.6277, allocations: 7.984 kB / 1.454 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.6282, allocations: 119.8 kB / 1.454 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008355/0.6366, allocations: 2.599 MB / 1.457 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.6368, allocations: 24 kB / 1.457 GB, free: 9.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03609/0.6729, allocations: 23.76 MB / 1.48 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.6729, allocations: 7.938 kB / 1.48 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.6841, allocations: 5.179 MB / 1.485 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.6855, allocations: 423.1 kB / 1.485 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.6859, allocations: 31.95 kB / 1.486 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/0.6869, allocations: 79.89 kB / 1.486 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.6874, allocations: 129 kB / 1.486 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6876, allocations: 36 kB / 1.486 GB, free: 11.28 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009835/0.6885, allocations: 0.6434 MB / 1.486 GB, free: 10.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6885, allocations: 4 kB / 1.486 GB, free: 10.63 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002469/0.691, allocations: 0.7188 MB / 1.487 GB, free: 9.91 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/0.7022, allocations: 5.759 MB / 1.493 GB, free: 4.062 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007055/0.7093, allocations: 4.077 MB / 1.497 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7093, allocations: 4.062 kB / 1.497 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.7143, allocations: 2.63 MB / 1.499 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7157, allocations: 223.4 kB / 1.499 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04082/0.7565, allocations: 21.34 MB / 1.52 GB, free: 7.234 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.7586, allocations: 1.7 MB / 1.522 GB, free: 5.504 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008196/0.7594, allocations: 325.4 kB / 1.522 GB, free: 5.184 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007754/0.7602, allocations: 0.5383 MB / 1.523 GB, free: 4.645 MB / 1.217 GB Notification: Performance of SimCode: time 1.012e-06/0.7602, allocations: 0 / 1.523 GB, free: 4.645 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/0.8925, allocations: 54.6 MB / 1.576 GB, free: 14.37 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.11, allocations: 7.438 kB / 1.576 GB, free: 14.36 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 20.92893347213976]