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.001706/0.001706, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001714/0.001714, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.801 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.156/3.156, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.00212/0.00212, allocations: 74.06 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3263, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01354/0.3398, allocations: 9.665 MB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005723/0.3455, allocations: 3.022 MB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.346, allocations: 47.69 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.3479, allocations: 0.6921 MB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3495, allocations: 0.7195 MB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3509, allocations: 0.6437 MB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.3539, allocations: 2.723 MB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.3559, allocations: 1.371 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.3573, allocations: 1.165 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.3592, allocations: 1.433 MB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.3595, allocations: 220 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.3603, allocations: 463.3 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009867/0.3613, allocations: 1.005 MB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009452/0.3623, allocations: 0.8326 MB / 1.349 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.3656, allocations: 3.43 MB / 1.352 GB, free: 6.848 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3656, allocations: 11.92 kB / 1.352 GB, free: 6.836 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3656, allocations: 0 / 1.352 GB, free: 6.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.583e-05/0.3657, allocations: 0 / 1.352 GB, free: 6.836 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.003549/0.3692, allocations: 1.905 MB / 1.354 GB, free: 4.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3693, allocations: 12.03 kB / 1.354 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003566/0.3696, allocations: 264.7 kB / 1.354 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/0.3754, allocations: 0.8892 MB / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.378, allocations: 1.124 MB / 1.356 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3781, allocations: 111.3 kB / 1.356 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.3784, allocations: 148.3 kB / 1.356 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004762/0.3832, allocations: 3.092 MB / 1.359 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.3832, allocations: 7.891 kB / 1.359 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.3834, allocations: 63.97 kB / 1.359 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/0.3836, allocations: 183 kB / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.3878, allocations: 2.6 MB / 1.362 GB, free: 12.24 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.01471/0.4025, allocations: 9.316 MB / 1.371 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.4046, allocations: 1.22 MB / 1.372 GB, free: 1.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.406, allocations: 0.9837 MB / 1.373 GB, free: 488 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.406, allocations: 8.656 kB / 1.373 GB, free: 480 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4061, allocations: 47.16 kB / 1.373 GB, free: 424 kB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.4061, allocations: 0 / 1.373 GB, free: 424 kB / 1.061 GB Notification: Performance of matching and sorting (n=139): time 0.07924/0.4853, allocations: 18.88 MB / 1.392 GB, free: 13.51 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.4854, allocations: 68.72 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.4868, allocations: 0.9455 MB / 1.393 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.487, allocations: 45.7 kB / 1.393 GB, free: 12.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/0.4876, allocations: 0.754 MB / 1.394 GB, free: 11.65 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005874/0.4882, allocations: 0.4957 MB / 1.394 GB, free: 11.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006524/0.4888, allocations: 295.5 kB / 1.394 GB, free: 10.86 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.489, allocations: 353.9 kB / 1.395 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.4911, allocations: 1.339 MB / 1.396 GB, free: 9.164 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.4935, allocations: 1.655 MB / 1.398 GB, free: 7.398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/0.498, allocations: 3.092 MB / 1.401 GB, free: 4.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.498, allocations: 0 / 1.401 GB, free: 4.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0125/0.5105, allocations: 5.559 MB / 1.406 GB, free: 14.6 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.5105, allocations: 11.94 kB / 1.406 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.5105, allocations: 8 kB / 1.406 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009203/0.5197, allocations: 2.719 MB / 1.409 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.5206, allocations: 191.7 kB / 1.409 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04012/0.5607, allocations: 25 MB / 1.433 GB, free: 2.207 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.5622, allocations: 95.95 kB / 1.433 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.5624, allocations: 60 kB / 1.433 GB, free: 2.055 MB / 1.123 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.001234/0.5636, allocations: 0.7354 MB / 1.434 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5639, allocations: 119.2 kB / 1.434 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5761, allocations: 5.318 MB / 1.439 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.5762, allocations: 16.5 kB / 1.439 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.5762, allocations: 16 kB / 1.439 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.5762, allocations: 7.969 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.594, allocations: 8.255 MB / 1.448 GB, free: 3.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5941, allocations: 8 kB / 1.448 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.5946, allocations: 123.7 kB / 1.448 GB, free: 3.301 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009088/0.6037, allocations: 2.588 MB / 1.45 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.6038, allocations: 32 kB / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03752/0.6414, allocations: 23.44 MB / 1.473 GB, free: 8.766 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6414, allocations: 11.94 kB / 1.473 GB, free: 8.754 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.6534, allocations: 5.171 MB / 1.478 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.6548, allocations: 427.1 kB / 1.479 GB, free: 3.082 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.655, allocations: 32 kB / 1.479 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.656, allocations: 75.84 kB / 1.479 GB, free: 2.977 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/0.6565, allocations: 132.9 kB / 1.479 GB, free: 2.844 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.6567, allocations: 32 kB / 1.479 GB, free: 2.812 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009372/0.6576, allocations: 0.6434 MB / 1.479 GB, free: 2.168 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6576, allocations: 4 kB / 1.479 GB, free: 2.164 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002292/0.6599, allocations: 0.7227 MB / 1.48 GB, free: 1.441 MB / 1.17 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.01217/0.6721, allocations: 5.761 MB / 1.486 GB, free: 11.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007744/0.6798, allocations: 4.078 MB / 1.49 GB, free: 7.453 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.6798, allocations: 3.938 kB / 1.49 GB, free: 7.449 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005653/0.6855, allocations: 2.615 MB / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6868, allocations: 226.6 kB / 1.493 GB, free: 4.578 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.7277, allocations: 21.33 MB / 1.513 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.7293, allocations: 1.117 MB / 1.514 GB, free: 13.63 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008173/0.7301, allocations: 325.4 kB / 1.515 GB, free: 13.31 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/0.7308, allocations: 0.5383 MB / 1.515 GB, free: 12.77 MB / 1.217 GB Notification: Performance of SimCode: time 7.82e-07/0.7308, allocations: 0 / 1.515 GB, free: 12.77 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/0.8412, allocations: 55.92 MB / 1.57 GB, free: 5.273 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.64, allocations: 4.062 kB / 1.57 GB, free: 5.27 MB / 1.264 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.33495402522385]