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.001234/0.001234, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001416/0.001416, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.051/3.051, allocations: 0.49 GB / 0.7959 GB, free: 33.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="cs",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="cs",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.002007/0.002007, allocations: 64.95 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0138/0.3611, allocations: 10.48 MB / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.367, allocations: 3.158 MB / 1.34 GB, free: 4.277 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007857/0.3678, allocations: 43.69 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.3698, allocations: 0.7154 MB / 1.341 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3715, allocations: 0.7234 MB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.373, allocations: 0.6664 MB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.3762, allocations: 2.727 MB / 1.345 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.3784, allocations: 1.383 MB / 1.346 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.3803, allocations: 1.161 MB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.3828, allocations: 1.488 MB / 1.349 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.3834, allocations: 220 kB / 1.349 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3847, allocations: 0.4915 MB / 1.349 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.3861, allocations: 0.9977 MB / 1.35 GB, free: 9.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.3876, allocations: 1.015 MB / 1.351 GB, free: 8.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.3914, allocations: 3.423 MB / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3914, allocations: 0 / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3914, allocations: 0 / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.69e-05/0.3915, allocations: 0 / 1.355 GB, free: 5.141 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.004099/0.3956, allocations: 1.913 MB / 1.357 GB, free: 3.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3956, allocations: 12.03 kB / 1.357 GB, free: 3.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.042e-05/0.3957, allocations: 43.06 kB / 1.357 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003441/0.396, allocations: 252.7 kB / 1.357 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/0.4017, allocations: 0.897 MB / 1.358 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.404, allocations: 1.12 MB / 1.359 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/0.4041, allocations: 111.3 kB / 1.359 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.4044, allocations: 148.3 kB / 1.359 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.4091, allocations: 3.017 MB / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.4091, allocations: 7.891 kB / 1.362 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.4093, allocations: 67.97 kB / 1.362 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.4095, allocations: 179 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.4137, allocations: 2.608 MB / 1.365 GB, free: 10.59 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.01704/0.4307, allocations: 13.38 MB / 1.378 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4327, allocations: 1.221 MB / 1.379 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4341, allocations: 0.976 MB / 1.38 GB, free: 9.902 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.4342, allocations: 8.656 kB / 1.38 GB, free: 9.895 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4342, allocations: 43.22 kB / 1.38 GB, free: 9.844 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.368e-06/0.4342, allocations: 3.984 kB / 1.38 GB, free: 9.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07339/0.5076, allocations: 18.88 MB / 1.399 GB, free: 6.926 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.5077, allocations: 68.66 kB / 1.399 GB, free: 6.844 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5091, allocations: 0.9184 MB / 1.399 GB, free: 5.914 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.5093, allocations: 49.7 kB / 1.4 GB, free: 5.859 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/0.5099, allocations: 0.754 MB / 1.4 GB, free: 5.094 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.5105, allocations: 0.4996 MB / 1.401 GB, free: 4.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006653/0.5111, allocations: 291.5 kB / 1.401 GB, free: 4.301 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5113, allocations: 357.9 kB / 1.401 GB, free: 3.945 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.5133, allocations: 1.335 MB / 1.403 GB, free: 2.609 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.5156, allocations: 1.655 MB / 1.404 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004567/0.5202, allocations: 3.084 MB / 1.407 GB, free: 13.64 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.5202, allocations: 8 kB / 1.407 GB, free: 13.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01304/0.5332, allocations: 5.557 MB / 1.413 GB, free: 8.047 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.5332, allocations: 19.91 kB / 1.413 GB, free: 8.027 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.5333, allocations: 8 kB / 1.413 GB, free: 8.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008892/0.5422, allocations: 2.718 MB / 1.415 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.543, allocations: 187.7 kB / 1.416 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/0.5812, allocations: 25.34 MB / 1.44 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5828, allocations: 95.95 kB / 1.44 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/0.5831, allocations: 55.98 kB / 1.44 GB, free: 11.15 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.001634/0.5848, allocations: 0.7354 MB / 1.441 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.5851, allocations: 119.2 kB / 1.441 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.5971, allocations: 5.314 MB / 1.446 GB, free: 4.941 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5971, allocations: 20 kB / 1.447 GB, free: 4.922 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.5972, allocations: 16 kB / 1.447 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.5972, allocations: 11.97 kB / 1.447 GB, free: 4.895 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.6142, allocations: 8.59 MB / 1.455 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.6142, allocations: 4 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.6147, allocations: 127.7 kB / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008612/0.6233, allocations: 2.594 MB / 1.458 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.6235, allocations: 24 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03601/0.6595, allocations: 23.78 MB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.6595, allocations: 7.938 kB / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.6707, allocations: 5.171 MB / 1.486 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.6718, allocations: 427.1 kB / 1.486 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.6722, allocations: 35.94 kB / 1.486 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.6732, allocations: 75.91 kB / 1.486 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005538/0.6738, allocations: 128.9 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.6739, allocations: 36 kB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009981/0.6749, allocations: 0.6474 MB / 1.487 GB, free: 10.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6749, allocations: 0 / 1.487 GB, free: 10.59 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00249/0.6774, allocations: 0.7226 MB / 1.488 GB, free: 9.871 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.01148/0.6889, allocations: 5.759 MB / 1.494 GB, free: 4.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007484/0.6963, allocations: 4.079 MB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.6964, allocations: 0 / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.7017, allocations: 2.619 MB / 1.5 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7033, allocations: 213.7 kB / 1.5 GB, free: 13.01 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/0.7429, allocations: 21.36 MB / 1.521 GB, free: 7.191 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.7449, allocations: 1.7 MB / 1.523 GB, free: 5.461 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008056/0.7457, allocations: 329.4 kB / 1.523 GB, free: 5.137 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/0.7465, allocations: 0.5305 MB / 1.524 GB, free: 4.605 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.7465, allocations: 0 / 1.524 GB, free: 4.605 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.8585, allocations: 54.64 MB / 1.577 GB, free: 14.31 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.82, allocations: 7.922 kB / 1.577 GB, free: 14.3 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.625066577049438]