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.002068/0.002068, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002659/0.002659, allocations: 221 kB / 22.25 MB, free: 5.258 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.777 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.126/3.126, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.00202/0.00202, allocations: 71.61 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0127/0.3297, allocations: 9.66 MB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005291/0.335, allocations: 3.025 MB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.3355, allocations: 47.62 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.3373, allocations: 0.6992 MB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.3387, allocations: 0.7196 MB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3401, allocations: 0.6433 MB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003037/0.3432, allocations: 2.73 MB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.345, allocations: 1.375 MB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.3465, allocations: 1.169 MB / 1.345 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.3485, allocations: 1.492 MB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3488, allocations: 220 kB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.3496, allocations: 463.4 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009899/0.3506, allocations: 1.013 MB / 1.349 GB, free: 10.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.3515, allocations: 0.8327 MB / 1.349 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.3548, allocations: 3.427 MB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3548, allocations: 0 / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3548, allocations: 0 / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.531e-05/0.3549, allocations: 3.984 kB / 1.353 GB, free: 5.875 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.003399/0.3583, allocations: 1.913 MB / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3583, allocations: 8.031 kB / 1.355 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003304/0.3586, allocations: 256.7 kB / 1.355 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.3641, allocations: 0.897 MB / 1.356 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.3667, allocations: 1.12 MB / 1.357 GB, free: 1.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.3668, allocations: 111.3 kB / 1.357 GB, free: 1.492 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.3671, allocations: 148.3 kB / 1.357 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.3718, allocations: 3.092 MB / 1.36 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.3718, allocations: 11.89 kB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.372, allocations: 59.97 kB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.3723, allocations: 179 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.3763, allocations: 2.604 MB / 1.363 GB, free: 11.28 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.01482/0.3912, allocations: 9.316 MB / 1.372 GB, free: 1.734 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.3932, allocations: 1.211 MB / 1.373 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3946, allocations: 0.9845 MB / 1.374 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.3947, allocations: 12.59 kB / 1.374 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3947, allocations: 43.22 kB / 1.374 GB, free: 15.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/0.3947, allocations: 3.938 kB / 1.374 GB, free: 15.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07138/0.4661, allocations: 18.88 MB / 1.393 GB, free: 12.55 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.4661, allocations: 68.72 kB / 1.393 GB, free: 12.47 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4674, allocations: 0.9416 MB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.4676, allocations: 49.64 kB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.4681, allocations: 0.754 MB / 1.394 GB, free: 10.69 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.4686, allocations: 0.5035 MB / 1.395 GB, free: 10.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/0.4692, allocations: 295.5 kB / 1.395 GB, free: 9.891 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4694, allocations: 353.9 kB / 1.395 GB, free: 9.539 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.4714, allocations: 1.335 MB / 1.397 GB, free: 8.203 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.4736, allocations: 1.659 MB / 1.398 GB, free: 6.434 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.4779, allocations: 3.088 MB / 1.401 GB, free: 3.227 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4779, allocations: 4 kB / 1.401 GB, free: 3.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01193/0.4898, allocations: 5.559 MB / 1.407 GB, free: 13.64 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.4899, allocations: 11.94 kB / 1.407 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.4899, allocations: 15.98 kB / 1.407 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009211/0.4991, allocations: 2.711 MB / 1.41 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.5, allocations: 199.6 kB / 1.41 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03797/0.538, allocations: 24.99 MB / 1.434 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5393, allocations: 95.95 kB / 1.434 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5394, allocations: 52 kB / 1.434 GB, free: 1.098 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.00116/0.5406, allocations: 0.7432 MB / 1.435 GB, free: 352 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.5409, allocations: 123.2 kB / 1.435 GB, free: 228 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5525, allocations: 5.31 MB / 1.44 GB, free: 10.87 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5525, allocations: 16 kB / 1.44 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.5525, allocations: 20 kB / 1.44 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.5526, allocations: 11.91 kB / 1.44 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.5694, allocations: 8.248 MB / 1.448 GB, free: 2.469 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5694, allocations: 4 kB / 1.448 GB, free: 2.465 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.5699, allocations: 115.8 kB / 1.448 GB, free: 2.352 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008813/0.5787, allocations: 2.597 MB / 1.451 GB, free: 15.74 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.5789, allocations: 28 kB / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03504/0.6139, allocations: 23.44 MB / 1.474 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6139, allocations: 4 kB / 1.474 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.6251, allocations: 5.187 MB / 1.479 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.6264, allocations: 427.1 kB / 1.479 GB, free: 2.117 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.6266, allocations: 32 kB / 1.479 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.6275, allocations: 71.91 kB / 1.48 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005359/0.628, allocations: 132.9 kB / 1.48 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.6282, allocations: 36 kB / 1.48 GB, free: 1.848 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008829/0.629, allocations: 0.6434 MB / 1.48 GB, free: 1.203 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.629, allocations: 0 / 1.48 GB, free: 1.203 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002366/0.6314, allocations: 0.7228 MB / 1.481 GB, free: 492 kB / 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.01129/0.6427, allocations: 5.754 MB / 1.487 GB, free: 10.64 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007637/0.6503, allocations: 4.086 MB / 1.491 GB, free: 6.496 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.6503, allocations: 4 kB / 1.491 GB, free: 6.492 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005409/0.6558, allocations: 2.615 MB / 1.493 GB, free: 3.828 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.6572, allocations: 221.4 kB / 1.493 GB, free: 3.625 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03925/0.6965, allocations: 21.35 MB / 1.514 GB, free: 13.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.698, allocations: 1.113 MB / 1.515 GB, free: 12.67 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008066/0.6988, allocations: 329.4 kB / 1.516 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/0.6996, allocations: 0.5305 MB / 1.516 GB, free: 11.81 MB / 1.217 GB Notification: Performance of SimCode: time 1.763e-06/0.6996, allocations: 4 kB / 1.516 GB, free: 11.81 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/0.8169, allocations: 56.58 MB / 1.571 GB, free: 3.656 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.11, allocations: 11.94 kB / 1.571 GB, free: 3.645 MB / 1.264 GB " [Timeout remaining time 287] (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: 19.79678815600346]