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.001302/0.001302, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001454/0.001454, allocations: 218.2 kB / 23.03 MB, free: 4.945 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.678/2.678, allocations: 476.8 MB / 0.7715 GB, free: 3.926 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="cs",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="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.00196/0.00196, allocations: 71.47 kB / 1.118 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 170 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01268/0.3244, allocations: 9.645 MB / 1.294 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.3296, allocations: 3.029 MB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.3301, allocations: 43.69 kB / 1.297 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.3319, allocations: 0.692 MB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.3333, allocations: 0.7274 MB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3346, allocations: 0.6337 MB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.3375, allocations: 2.734 MB / 1.301 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.3393, allocations: 1.372 MB / 1.303 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3412, allocations: 1.165 MB / 1.304 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.3434, allocations: 1.496 MB / 1.305 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.3438, allocations: 216 kB / 1.305 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.3448, allocations: 467.4 kB / 1.306 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.3458, allocations: 1.005 MB / 1.307 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.3469, allocations: 0.8327 MB / 1.308 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.3504, allocations: 3.431 MB / 1.311 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3504, allocations: 7.938 kB / 1.311 GB, free: 15.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3504, allocations: 0 / 1.311 GB, free: 15.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.777e-05/0.3504, allocations: 0 / 1.311 GB, free: 15.24 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.003938/0.3544, allocations: 1.909 MB / 1.313 GB, free: 13.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3544, allocations: 12.03 kB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.506e-05/0.3545, allocations: 39.12 kB / 1.313 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003406/0.3548, allocations: 252.7 kB / 1.313 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005644/0.3605, allocations: 0.897 MB / 1.314 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3628, allocations: 1.124 MB / 1.315 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.21e-05/0.3629, allocations: 115.3 kB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.3632, allocations: 140.4 kB / 1.315 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.3678, allocations: 3.092 MB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.3679, allocations: 7.938 kB / 1.318 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.368, allocations: 59.92 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.3683, allocations: 179 kB / 1.319 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.3723, allocations: 2.604 MB / 1.321 GB, free: 4.613 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.01404/0.3863, allocations: 9.34 MB / 1.33 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.3882, allocations: 1.215 MB / 1.331 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3896, allocations: 0.9799 MB / 1.332 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.3897, allocations: 8.656 kB / 1.332 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3897, allocations: 39.22 kB / 1.332 GB, free: 8.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.3897, allocations: 4 kB / 1.332 GB, free: 8.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.06917/0.4589, allocations: 18.89 MB / 1.351 GB, free: 5.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4589, allocations: 68.66 kB / 1.351 GB, free: 5.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.4602, allocations: 0.9184 MB / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.4604, allocations: 45.7 kB / 1.352 GB, free: 4.785 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/0.4609, allocations: 0.754 MB / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.4614, allocations: 0.5035 MB / 1.353 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/0.462, allocations: 287.5 kB / 1.353 GB, free: 3.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4622, allocations: 353.9 kB / 1.354 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.4641, allocations: 1.335 MB / 1.355 GB, free: 1.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.4663, allocations: 1.659 MB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/0.4704, allocations: 3.09 MB / 1.36 GB, free: 12.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.4704, allocations: 4 kB / 1.36 GB, free: 12.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01163/0.482, allocations: 5.558 MB / 1.365 GB, free: 6.973 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4821, allocations: 16.03 kB / 1.365 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.4821, allocations: 12 kB / 1.365 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008829/0.4909, allocations: 2.707 MB / 1.368 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.4917, allocations: 191.7 kB / 1.368 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03602/0.5278, allocations: 25 MB / 1.392 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5292, allocations: 99.89 kB / 1.392 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.5293, allocations: 59.94 kB / 1.393 GB, free: 10.43 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.001167/0.5305, allocations: 0.7385 MB / 1.393 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.5307, allocations: 123.2 kB / 1.393 GB, free: 9.559 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.542, allocations: 5.31 MB / 1.399 GB, free: 4.211 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.542, allocations: 12 kB / 1.399 GB, free: 4.199 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.542, allocations: 20 kB / 1.399 GB, free: 4.18 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.5421, allocations: 7.969 kB / 1.399 GB, free: 4.172 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.5579, allocations: 8.252 MB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.5579, allocations: 8.031 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.5584, allocations: 119.7 kB / 1.407 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008494/0.5669, allocations: 2.588 MB / 1.409 GB, free: 9.082 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.5671, allocations: 28 kB / 1.409 GB, free: 9.055 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03369/0.6008, allocations: 23.45 MB / 1.432 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6008, allocations: 8.125 kB / 1.432 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.6115, allocations: 5.175 MB / 1.437 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.6126, allocations: 431 kB / 1.438 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.6128, allocations: 32 kB / 1.438 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008422/0.6136, allocations: 71.91 kB / 1.438 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/0.6142, allocations: 136.9 kB / 1.438 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6143, allocations: 36 kB / 1.438 GB, free: 11.18 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008536/0.6151, allocations: 0.6434 MB / 1.439 GB, free: 10.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6151, allocations: 0 / 1.439 GB, free: 10.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002419/0.6175, allocations: 0.7188 MB / 1.439 GB, free: 9.82 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.01103/0.6286, allocations: 5.761 MB / 1.445 GB, free: 3.969 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006991/0.6356, allocations: 4.085 MB / 1.449 GB, free: 15.83 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6356, allocations: 0 / 1.449 GB, free: 15.83 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005091/0.6407, allocations: 2.607 MB / 1.451 GB, free: 13.18 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6419, allocations: 213.9 kB / 1.452 GB, free: 12.97 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/0.679, allocations: 21.35 MB / 1.472 GB, free: 7.156 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.6804, allocations: 1.109 MB / 1.474 GB, free: 6.008 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007463/0.6811, allocations: 329.4 kB / 1.474 GB, free: 5.684 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/0.6819, allocations: 0.5344 MB / 1.474 GB, free: 5.148 MB / 1.17 GB Notification: Performance of SimCode: time 8.82e-07/0.6819, allocations: 0 / 1.474 GB, free: 5.148 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.7903, allocations: 55.85 MB / 1.529 GB, free: 13.77 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.35, allocations: 8.062 kB / 1.529 GB, free: 13.76 MB / 1.232 GB " [Timeout remaining time 285] (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: 21.034657750977203]