Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001602/0.001602, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00153/0.00153, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.211/3.211, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.002012/0.002012, allocations: 70.48 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3583, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01517/0.3735, allocations: 10.51 MB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00671/0.3802, allocations: 3.295 MB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3812, allocations: 51.69 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.3833, allocations: 0.6247 MB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.3854, allocations: 0.7778 MB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.3873, allocations: 0.7523 MB / 1.368 GB, free: 8.367 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.3912, allocations: 2.992 MB / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.3938, allocations: 1.439 MB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.3962, allocations: 1.278 MB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.3991, allocations: 1.706 MB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.3998, allocations: 236 kB / 1.376 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.4013, allocations: 0.511 MB / 1.376 GB, free: 152 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.4029, allocations: 1.095 MB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.4052, allocations: 1.116 MB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00504/0.4103, allocations: 3.695 MB / 1.382 GB, free: 10.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4103, allocations: 0 / 1.382 GB, free: 10.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4103, allocations: 0 / 1.382 GB, free: 10.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001094/0.4104, allocations: 4 kB / 1.382 GB, free: 10.22 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005702/0.4161, allocations: 2.115 MB / 1.384 GB, free: 8.062 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4161, allocations: 12.03 kB / 1.384 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007046/0.4168, allocations: 257.2 kB / 1.385 GB, free: 7.789 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008539/0.4254, allocations: 1.322 MB / 1.386 GB, free: 6.465 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.429, allocations: 1.265 MB / 1.387 GB, free: 5.172 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.4292, allocations: 119.3 kB / 1.387 GB, free: 5.055 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008413/0.43, allocations: 148.3 kB / 1.387 GB, free: 4.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007803/0.4378, allocations: 3.444 MB / 1.391 GB, free: 1.367 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.615e-05/0.4379, allocations: 4 kB / 1.391 GB, free: 1.363 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.4383, allocations: 67.95 kB / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/0.4386, allocations: 203.1 kB / 1.391 GB, free: 1.098 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/0.4447, allocations: 3.127 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.4662, allocations: 13.46 MB / 1.407 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.469, allocations: 1.616 MB / 1.409 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4711, allocations: 1.323 MB / 1.41 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.4713, allocations: 13 kB / 1.41 GB, free: 12.67 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4713, allocations: 39.56 kB / 1.41 GB, free: 12.62 MB / 1.107 GB Notification: Performance of pre-optimization done (n=104): time 3.286e-06/0.4713, allocations: 4 kB / 1.41 GB, free: 12.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=183): time 0.1395/0.6108, allocations: 36.2 MB / 1.445 GB, free: 8.371 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.6108, allocations: 73.41 kB / 1.446 GB, free: 8.285 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.6127, allocations: 1.05 MB / 1.447 GB, free: 7.211 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/0.6131, allocations: 61.7 kB / 1.447 GB, free: 7.145 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.6138, allocations: 0.8054 MB / 1.447 GB, free: 6.328 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008938/0.6147, allocations: 0.6623 MB / 1.448 GB, free: 5.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.6157, allocations: 355.5 kB / 1.448 GB, free: 5.309 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6158, allocations: 305.1 kB / 1.449 GB, free: 5.008 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.6188, allocations: 1.928 MB / 1.451 GB, free: 3.078 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.6221, allocations: 2.289 MB / 1.453 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006591/0.6287, allocations: 4.391 MB / 1.457 GB, free: 12.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.6287, allocations: 4 kB / 1.457 GB, free: 12.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02131/0.65, allocations: 8.879 MB / 1.466 GB, free: 3.234 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6501, allocations: 13.25 kB / 1.466 GB, free: 3.223 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.6501, allocations: 8 kB / 1.466 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01698/0.6671, allocations: 4.981 MB / 1.471 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.668, allocations: 191.6 kB / 1.471 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0627/0.7307, allocations: 38.54 MB / 1.508 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.7326, allocations: 103.9 kB / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003849/0.733, allocations: 72 kB / 1.509 GB, free: 6.844 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001639/0.7347, allocations: 0.8095 MB / 1.509 GB, free: 6.023 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.7351, allocations: 143.1 kB / 1.51 GB, free: 5.883 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0206/0.7557, allocations: 8.741 MB / 1.518 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.7557, allocations: 16 kB / 1.518 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.516e-05/0.7558, allocations: 28 kB / 1.518 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/0.7559, allocations: 11.97 kB / 1.518 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/0.785, allocations: 13.23 MB / 1.531 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.785, allocations: 4 kB / 1.531 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.7855, allocations: 123.8 kB / 1.531 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0167/0.8022, allocations: 4.852 MB / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003704/0.8026, allocations: 36 kB / 1.536 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05889/0.8615, allocations: 36.45 MB / 1.572 GB, free: 5.715 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.8615, allocations: 15.88 kB / 1.572 GB, free: 5.699 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.8815, allocations: 8.44 MB / 1.58 GB, free: 13.17 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.8833, allocations: 0.5886 MB / 1.58 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.8838, allocations: 36 kB / 1.58 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.8851, allocations: 91.89 kB / 1.58 GB, free: 12.46 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007786/0.8858, allocations: 177.5 kB / 1.581 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.886, allocations: 40 kB / 1.581 GB, free: 12.25 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001148/0.8872, allocations: 0.7382 MB / 1.581 GB, free: 11.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.8872, allocations: 0 / 1.581 GB, free: 11.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003337/0.8905, allocations: 1.008 MB / 1.582 GB, free: 10.49 MB / 1.279 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02023/0.9107, allocations: 9.043 MB / 1.591 GB, free: 1.348 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.9224, allocations: 5.736 MB / 1.597 GB, free: 11.55 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.9224, allocations: 0 / 1.597 GB, free: 11.55 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008965/0.9314, allocations: 3.779 MB / 1.601 GB, free: 7.723 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.9333, allocations: 243.8 kB / 1.601 GB, free: 7.488 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7625/1.696, allocations: 30.83 MB / 1.631 GB, free: 236.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.698, allocations: 1.851 MB / 1.633 GB, free: 235.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001211/1.699, allocations: 356.6 kB / 1.633 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.7, allocations: 0.6077 MB / 1.634 GB, free: 234.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.643e-06/1.7, allocations: 3.812 kB / 1.634 GB, free: 234.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.824, allocations: 78.75 MB / 1.711 GB, free: 174.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/16.08, allocations: 8 kB / 1.711 GB, free: 174.6 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 22.871296647004783]