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.001766/0.001766, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002287/0.002287, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.056/3.056, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="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.001976/0.001976, allocations: 71.06 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3578, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01364/0.3715, allocations: 9.63 MB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006262/0.3777, allocations: 3.143 MB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.3787, allocations: 47.69 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.3807, allocations: 0.5947 MB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.3827, allocations: 0.7856 MB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.3845, allocations: 0.7398 MB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003671/0.3882, allocations: 2.996 MB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.3906, allocations: 1.439 MB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.3927, allocations: 1.282 MB / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.3955, allocations: 1.702 MB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006523/0.3961, allocations: 236 kB / 1.367 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3975, allocations: 479.4 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.3991, allocations: 1.103 MB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.4015, allocations: 0.9143 MB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.4063, allocations: 3.711 MB / 1.373 GB, free: 3.043 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4063, allocations: 4 kB / 1.373 GB, free: 3.039 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4063, allocations: 0 / 1.373 GB, free: 3.039 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001359/0.4065, allocations: 4 kB / 1.373 GB, free: 3.035 MB / 1.061 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.006598/0.4131, allocations: 2.123 MB / 1.375 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4131, allocations: 12.03 kB / 1.375 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.984e-05/0.4132, allocations: 43.2 kB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/0.4137, allocations: 257.2 kB / 1.376 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008619/0.4223, allocations: 1.322 MB / 1.377 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.4253, allocations: 1.265 MB / 1.378 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.4254, allocations: 119.3 kB / 1.378 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.4258, allocations: 144.3 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/0.4314, allocations: 3.527 MB / 1.382 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.4314, allocations: 7.938 kB / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.4316, allocations: 59.97 kB / 1.382 GB, free: 9.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002723/0.4319, allocations: 207.1 kB / 1.382 GB, free: 9.762 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004862/0.4368, allocations: 3.131 MB / 1.385 GB, free: 6.625 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.4527, allocations: 10.07 MB / 1.395 GB, free: 12.35 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.4551, allocations: 1.599 MB / 1.397 GB, free: 10.75 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.4571, allocations: 1.338 MB / 1.398 GB, free: 9.406 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.4571, allocations: 13 kB / 1.398 GB, free: 9.395 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.4572, allocations: 43.56 kB / 1.398 GB, free: 9.344 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 3.456e-06/0.4572, allocations: 0 / 1.398 GB, free: 9.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=183): time 0.1312/0.5884, allocations: 36.19 MB / 1.433 GB, free: 5.102 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.5885, allocations: 69.41 kB / 1.433 GB, free: 5.023 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.5903, allocations: 1.054 MB / 1.435 GB, free: 3.945 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003749/0.5906, allocations: 57.7 kB / 1.435 GB, free: 3.883 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/0.5913, allocations: 0.8132 MB / 1.435 GB, free: 3.059 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008481/0.5922, allocations: 0.6506 MB / 1.436 GB, free: 2.402 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.5932, allocations: 367.5 kB / 1.436 GB, free: 2.035 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5933, allocations: 301.1 kB / 1.437 GB, free: 1.738 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.5962, allocations: 1.928 MB / 1.439 GB, free: 15.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.5994, allocations: 2.285 MB / 1.441 GB, free: 13.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.6055, allocations: 4.387 MB / 1.445 GB, free: 8.891 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.6055, allocations: 7.938 kB / 1.445 GB, free: 8.883 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02046/0.626, allocations: 8.879 MB / 1.454 GB, free: 15.98 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.626, allocations: 8 kB / 1.454 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.6261, allocations: 15.94 kB / 1.454 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01715/0.6432, allocations: 4.969 MB / 1.459 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.6441, allocations: 195.6 kB / 1.459 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06012/0.7042, allocations: 37.99 MB / 1.496 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7062, allocations: 103.9 kB / 1.496 GB, free: 4.211 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/0.7066, allocations: 64 kB / 1.496 GB, free: 4.148 MB / 1.186 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.001661/0.7082, allocations: 0.8109 MB / 1.497 GB, free: 3.328 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.7087, allocations: 147.1 kB / 1.497 GB, free: 3.184 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/0.7285, allocations: 8.742 MB / 1.506 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.7285, allocations: 16 kB / 1.506 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.13e-05/0.7286, allocations: 32 kB / 1.506 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.7286, allocations: 11.97 kB / 1.506 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/0.7558, allocations: 12.65 MB / 1.518 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.7558, allocations: 8 kB / 1.518 GB, free: 13.56 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.7563, allocations: 119.8 kB / 1.518 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01635/0.7727, allocations: 4.823 MB / 1.523 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003396/0.773, allocations: 36 kB / 1.523 GB, free: 8.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05575/0.8288, allocations: 35.92 MB / 1.558 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.8288, allocations: 12.41 kB / 1.558 GB, free: 4.156 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01962/0.8484, allocations: 8.452 MB / 1.566 GB, free: 11.61 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.8499, allocations: 0.573 MB / 1.567 GB, free: 11.04 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.8503, allocations: 39.98 kB / 1.567 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.8517, allocations: 91.89 kB / 1.567 GB, free: 10.91 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008374/0.8525, allocations: 165.5 kB / 1.567 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.8527, allocations: 48 kB / 1.567 GB, free: 10.7 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001131/0.8538, allocations: 0.7382 MB / 1.568 GB, free: 9.949 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8538, allocations: 4 kB / 1.568 GB, free: 9.945 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003219/0.857, allocations: 1.004 MB / 1.569 GB, free: 8.941 MB / 1.264 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.01931/0.8763, allocations: 9.047 MB / 1.578 GB, free: 15.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.8867, allocations: 5.735 MB / 1.583 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.8867, allocations: 0 / 1.583 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.008115/0.8948, allocations: 3.795 MB / 1.587 GB, free: 6.16 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.8966, allocations: 247.9 kB / 1.587 GB, free: 5.922 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6777/1.574, allocations: 30.81 MB / 1.617 GB, free: 247.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/1.576, allocations: 1.275 MB / 1.618 GB, free: 247.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009536/1.577, allocations: 351.4 kB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/1.578, allocations: 0.6055 MB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.372e-06/1.578, allocations: 1.094 kB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.685, allocations: 80.47 MB / 1.698 GB, free: 193.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.66, allocations: 2.812 kB / 1.698 GB, free: 193.9 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.62154056702275]