Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001541/0.001541, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001737/0.001737, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.988 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.7/2.7, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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_RLC,fileNamePrefix="Buildings_11_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_11_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.002003/0.002003, allocations: 66.23 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2851, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01457/0.2997, allocations: 10.47 MB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006234/0.3059, allocations: 3.177 MB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/0.3067, allocations: 47.62 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.309, allocations: 0.7225 MB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.3109, allocations: 0.7196 MB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3127, allocations: 0.6509 MB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003706/0.3164, allocations: 2.738 MB / 1.301 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.3188, allocations: 1.375 MB / 1.303 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.3207, allocations: 1.161 MB / 1.304 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.3234, allocations: 1.496 MB / 1.305 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006738/0.3241, allocations: 216 kB / 1.306 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3255, allocations: 499.3 kB / 1.306 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.327, allocations: 1.009 MB / 1.307 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.3285, allocations: 1.019 MB / 1.308 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.3321, allocations: 3.411 MB / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3321, allocations: 0 / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3321, allocations: 0 / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.3321, allocations: 0 / 1.311 GB, free: 14.88 MB / 1.014 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.003479/0.3356, allocations: 1.913 MB / 1.313 GB, free: 12.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3356, allocations: 12.02 kB / 1.313 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/0.336, allocations: 248.7 kB / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005302/0.3413, allocations: 0.9009 MB / 1.314 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.3436, allocations: 1.12 MB / 1.315 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.3437, allocations: 111.3 kB / 1.316 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.344, allocations: 140.4 kB / 1.316 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.3488, allocations: 3.021 MB / 1.319 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.3488, allocations: 7.938 kB / 1.319 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.349, allocations: 59.98 kB / 1.319 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.3492, allocations: 171 kB / 1.319 GB, free: 7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.3533, allocations: 2.608 MB / 1.321 GB, free: 4.387 MB / 1.014 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.0168/0.3701, allocations: 13.4 MB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.3721, allocations: 1.223 MB / 1.336 GB, free: 4.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.3734, allocations: 0.9876 MB / 1.337 GB, free: 3.668 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.3735, allocations: 8.656 kB / 1.337 GB, free: 3.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3736, allocations: 43.2 kB / 1.337 GB, free: 3.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.3736, allocations: 4 kB / 1.337 GB, free: 3.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.06863/0.4422, allocations: 18.87 MB / 1.355 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.4423, allocations: 68.72 kB / 1.355 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4436, allocations: 0.9222 MB / 1.356 GB, free: 15.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.4437, allocations: 45.7 kB / 1.356 GB, free: 15.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.4443, allocations: 0.7463 MB / 1.357 GB, free: 14.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.4448, allocations: 0.5074 MB / 1.357 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005462/0.4453, allocations: 291.5 kB / 1.358 GB, free: 14.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4455, allocations: 349.9 kB / 1.358 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.4474, allocations: 1.335 MB / 1.359 GB, free: 12.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.4496, allocations: 1.663 MB / 1.361 GB, free: 10.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.4539, allocations: 3.1 MB / 1.364 GB, free: 7.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4539, allocations: 0 / 1.364 GB, free: 7.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01182/0.4658, allocations: 5.555 MB / 1.369 GB, free: 1.816 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.4658, allocations: 15.94 kB / 1.369 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.4658, allocations: 8 kB / 1.369 GB, free: 1.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00869/0.4745, allocations: 2.717 MB / 1.372 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.4753, allocations: 191.6 kB / 1.372 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03826/0.5136, allocations: 25.34 MB / 1.397 GB, free: 5.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.515, allocations: 91.95 kB / 1.397 GB, free: 4.992 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.5152, allocations: 56 kB / 1.397 GB, free: 4.938 MB / 1.092 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.001403/0.5166, allocations: 0.7393 MB / 1.398 GB, free: 4.188 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.5169, allocations: 119.7 kB / 1.398 GB, free: 4.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.5289, allocations: 5.318 MB / 1.403 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.5289, allocations: 12 kB / 1.403 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-05/0.5289, allocations: 20 kB / 1.403 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.529, allocations: 11.95 kB / 1.403 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.5471, allocations: 8.591 MB / 1.412 GB, free: 5.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.5471, allocations: 7.938 kB / 1.412 GB, free: 5.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.5476, allocations: 119.8 kB / 1.412 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008511/0.5561, allocations: 2.601 MB / 1.414 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.5562, allocations: 28 kB / 1.414 GB, free: 3.199 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03624/0.5925, allocations: 23.75 MB / 1.438 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5925, allocations: 7.984 kB / 1.438 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.6038, allocations: 5.183 MB / 1.443 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.6051, allocations: 431.1 kB / 1.443 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/0.6054, allocations: 24 kB / 1.443 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/0.6064, allocations: 79.89 kB / 1.443 GB, free: 5.191 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/0.6069, allocations: 136.9 kB / 1.443 GB, free: 5.055 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.607, allocations: 32 kB / 1.443 GB, free: 5.023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009786/0.608, allocations: 0.6434 MB / 1.444 GB, free: 4.383 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.608, allocations: 0 / 1.444 GB, free: 4.383 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002409/0.6104, allocations: 0.7227 MB / 1.445 GB, free: 3.66 MB / 1.139 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.01137/0.6218, allocations: 5.757 MB / 1.45 GB, free: 13.81 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007307/0.6291, allocations: 4.082 MB / 1.454 GB, free: 9.672 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6291, allocations: 4.188 kB / 1.454 GB, free: 9.668 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005264/0.6343, allocations: 2.599 MB / 1.457 GB, free: 7.023 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6358, allocations: 231.1 kB / 1.457 GB, free: 6.809 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/0.6753, allocations: 21.34 MB / 1.478 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.6773, allocations: 1.707 MB / 1.479 GB, free: 15.25 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.678, allocations: 329.4 kB / 1.48 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.6788, allocations: 0.5305 MB / 1.48 GB, free: 14.4 MB / 1.186 GB Notification: Performance of SimCode: time 1.002e-06/0.6788, allocations: 0 / 1.48 GB, free: 14.4 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.7909, allocations: 54.6 MB / 1.534 GB, free: 8.109 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.78, allocations: 17.17 kB / 1.534 GB, free: 8.098 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.280099413124844]