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.002014/0.002014, allocations: 111 kB / 16.46 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.002151/0.002151, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.476/1.476, 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.82/2.82, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.001993/0.001993, allocations: 63.89 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7662, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02944/0.7956, allocations: 22.96 MB / 1.291 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.8078, allocations: 6.283 MB / 1.297 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.8104, allocations: 95.5 kB / 1.297 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.8152, allocations: 1.579 MB / 1.299 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.8198, allocations: 1.723 MB / 1.301 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.8234, allocations: 1.349 MB / 1.302 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007664/0.8311, allocations: 5.932 MB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006478/0.8375, allocations: 4.467 MB / 1.312 GB, free: 8.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.8416, allocations: 2.45 MB / 1.314 GB, free: 6.125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005141/0.8468, allocations: 3.069 MB / 1.317 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.8479, allocations: 456 kB / 1.318 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.8506, allocations: 1.119 MB / 1.319 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.8535, allocations: 2.081 MB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.857, allocations: 2.166 MB / 1.323 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.8676, allocations: 7.322 MB / 1.33 GB, free: 5.875 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8677, allocations: 0 / 1.33 GB, free: 5.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8677, allocations: 0 / 1.33 GB, free: 5.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002683/0.8679, allocations: 4 kB / 1.33 GB, free: 5.871 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.009589/0.8775, allocations: 3.913 MB / 1.334 GB, free: 1.891 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8776, allocations: 8.031 kB / 1.334 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009302/0.8785, allocations: 0.5054 MB / 1.335 GB, free: 1.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/0.8849, allocations: 1.235 MB / 1.336 GB, free: 132 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.8913, allocations: 2.345 MB / 1.338 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.8916, allocations: 238.4 kB / 1.338 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009153/0.8925, allocations: 319.9 kB / 1.339 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.904, allocations: 6.216 MB / 1.345 GB, free: 6.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/0.9041, allocations: 11.94 kB / 1.345 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/0.9045, allocations: 139.9 kB / 1.345 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/0.9051, allocations: 410.3 kB / 1.345 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00888/0.914, allocations: 4.662 MB / 1.35 GB, free: 1.484 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.03897/0.953, allocations: 28.99 MB / 1.378 GB, free: 1.781 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.9554, allocations: 1.366 MB / 1.379 GB, free: 412 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.9576, allocations: 1.448 MB / 1.381 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.379e-05/0.9576, allocations: 17 kB / 1.381 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.9577, allocations: 47.5 kB / 1.381 GB, free: 14.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/0.9577, allocations: 0 / 1.381 GB, free: 14.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1403/1.098, allocations: 37.14 MB / 1.417 GB, free: 9.672 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/1.098, allocations: 81.34 kB / 1.417 GB, free: 9.578 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.1, allocations: 1.423 MB / 1.419 GB, free: 8.148 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002751/1.101, allocations: 53.64 kB / 1.419 GB, free: 8.09 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.102, allocations: 1.59 MB / 1.42 GB, free: 6.484 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/1.103, allocations: 0.6351 MB / 1.421 GB, free: 5.844 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/1.103, allocations: 383.5 kB / 1.421 GB, free: 5.461 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.104, allocations: 301.1 kB / 1.422 GB, free: 5.164 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/1.106, allocations: 1.784 MB / 1.423 GB, free: 3.375 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/1.11, allocations: 2.35 MB / 1.426 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/1.116, allocations: 4.387 MB / 1.43 GB, free: 12.14 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.116, allocations: 8 kB / 1.43 GB, free: 12.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01892/1.135, allocations: 8.431 MB / 1.438 GB, free: 3.668 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/1.135, allocations: 12.19 kB / 1.438 GB, free: 3.656 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.135, allocations: 24 kB / 1.438 GB, free: 3.633 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/1.15, allocations: 4.631 MB / 1.443 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.151, allocations: 307.5 kB / 1.443 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05293/1.204, allocations: 32.61 MB / 1.475 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/1.207, allocations: 151.8 kB / 1.475 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.207, allocations: 84 kB / 1.475 GB, free: 12.99 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.002721/1.21, allocations: 1.339 MB / 1.476 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/1.21, allocations: 210.7 kB / 1.477 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.229, allocations: 8.292 MB / 1.485 GB, free: 3.098 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.229, allocations: 19.94 kB / 1.485 GB, free: 3.078 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.506e-05/1.229, allocations: 24 kB / 1.485 GB, free: 3.055 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.229, allocations: 7.969 kB / 1.485 GB, free: 3.047 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02895/1.258, allocations: 12.69 MB / 1.497 GB, free: 6.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/1.258, allocations: 8 kB / 1.497 GB, free: 6.172 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/1.259, allocations: 163.7 kB / 1.497 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.274, allocations: 4.488 MB / 1.502 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/1.274, allocations: 39.98 kB / 1.502 GB, free: 1.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05247/1.327, allocations: 32.24 MB / 1.533 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.327, allocations: 8 kB / 1.533 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/1.347, allocations: 8.097 MB / 1.541 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.349, allocations: 0.6245 MB / 1.542 GB, free: 7.496 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/1.35, allocations: 40.11 kB / 1.542 GB, free: 7.457 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.351, allocations: 139.7 kB / 1.542 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008753/1.352, allocations: 169 kB / 1.542 GB, free: 7.152 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.352, allocations: 47.94 kB / 1.542 GB, free: 7.105 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001842/1.354, allocations: 0.9627 MB / 1.543 GB, free: 6.148 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.1e-08/1.354, allocations: 0 / 1.543 GB, free: 6.148 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003953/1.358, allocations: 1.113 MB / 1.544 GB, free: 5.035 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.0191/1.377, allocations: 8.714 MB / 1.553 GB, free: 12.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.391, allocations: 6.312 MB / 1.559 GB, free: 5.789 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.391, allocations: 4.062 kB / 1.559 GB, free: 5.785 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.401, allocations: 4.174 MB / 1.563 GB, free: 1.531 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/1.404, allocations: 0.5203 MB / 1.563 GB, free: 1.02 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06901/1.473, allocations: 33.44 MB / 1.596 GB, free: 14.65 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003509/1.477, allocations: 2.727 MB / 1.599 GB, free: 11.89 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001148/1.478, allocations: 388.5 kB / 1.599 GB, free: 11.51 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.479, allocations: 1.218 MB / 1.6 GB, free: 10.29 MB / 1.311 GB Notification: Performance of SimCode: time 1.021e-06/1.479, allocations: 0 / 1.6 GB, free: 10.29 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7389/2.218, allocations: 84.52 MB / 1.683 GB, free: 277.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.73, allocations: 8 kB / 1.683 GB, free: 277.1 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.198105799034238]