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.00157/0.00157, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002097/0.002097, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 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.308/3.308, allocations: 0.5107 GB / 0.8158 GB, free: 17.97 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.00224/0.00224, allocations: 65.75 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.322, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0132/0.3352, allocations: 9.638 MB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005899/0.3411, allocations: 3.143 MB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.3419, allocations: 47.69 kB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.3437, allocations: 0.614 MB / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3454, allocations: 0.774 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3471, allocations: 0.7473 MB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.3506, allocations: 2.996 MB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.3529, allocations: 1.408 MB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.3549, allocations: 1.297 MB / 1.384 GB, free: 9.367 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.3575, allocations: 1.624 MB / 1.385 GB, free: 7.738 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005772/0.3581, allocations: 239.9 kB / 1.385 GB, free: 7.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.3595, allocations: 483.3 kB / 1.386 GB, free: 7.031 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.3612, allocations: 1.103 MB / 1.387 GB, free: 5.926 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.3633, allocations: 0.9066 MB / 1.388 GB, free: 5.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.3683, allocations: 3.718 MB / 1.391 GB, free: 1.285 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3683, allocations: 0 / 1.391 GB, free: 1.285 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3683, allocations: 0 / 1.391 GB, free: 1.285 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001065/0.3684, allocations: 0 / 1.391 GB, free: 1.285 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.005268/0.3737, allocations: 2.115 MB / 1.394 GB, free: 15.13 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3737, allocations: 16.03 kB / 1.394 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005507/0.3743, allocations: 257.2 kB / 1.394 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/0.3835, allocations: 1.326 MB / 1.395 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.387, allocations: 1.258 MB / 1.396 GB, free: 12.24 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3871, allocations: 115.4 kB / 1.396 GB, free: 12.13 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/0.3877, allocations: 152.3 kB / 1.397 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007418/0.3952, allocations: 3.52 MB / 1.4 GB, free: 8.344 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.3952, allocations: 7.953 kB / 1.4 GB, free: 8.336 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.3956, allocations: 63.97 kB / 1.4 GB, free: 8.273 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003015/0.3959, allocations: 203.1 kB / 1.4 GB, free: 8.074 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/0.4022, allocations: 3.127 MB / 1.403 GB, free: 4.941 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0199/0.4221, allocations: 10.07 MB / 1.413 GB, free: 10.67 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.4249, allocations: 1.611 MB / 1.415 GB, free: 9.051 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.4271, allocations: 1.331 MB / 1.416 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-05/0.4272, allocations: 13 kB / 1.416 GB, free: 7.703 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4273, allocations: 43.56 kB / 1.416 GB, free: 7.652 MB / 1.107 GB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.4273, allocations: 0 / 1.416 GB, free: 7.652 MB / 1.107 GB Notification: Performance of matching and sorting (n=183): time 0.1562/0.5834, allocations: 36.2 MB / 1.451 GB, free: 3.418 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.5835, allocations: 77.41 kB / 1.451 GB, free: 3.328 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.5854, allocations: 1.073 MB / 1.453 GB, free: 2.23 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.5857, allocations: 57.7 kB / 1.453 GB, free: 2.168 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.5864, allocations: 0.8093 MB / 1.453 GB, free: 1.348 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.5872, allocations: 0.6546 MB / 1.454 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.588, allocations: 363.5 kB / 1.454 GB, free: 336 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5882, allocations: 301.1 kB / 1.455 GB, free: 32 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.5913, allocations: 1.932 MB / 1.457 GB, free: 14.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/0.5947, allocations: 2.285 MB / 1.459 GB, free: 11.68 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.6014, allocations: 4.386 MB / 1.463 GB, free: 7.176 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.6015, allocations: 8 kB / 1.463 GB, free: 7.168 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02225/0.6237, allocations: 8.878 MB / 1.472 GB, free: 14.26 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.6237, allocations: 11.98 kB / 1.472 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.6238, allocations: 8 kB / 1.472 GB, free: 14.24 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.642, allocations: 4.964 MB / 1.477 GB, free: 9.262 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/0.6429, allocations: 191.6 kB / 1.477 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06492/0.7078, allocations: 37.99 MB / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.7098, allocations: 103.9 kB / 1.514 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/0.7102, allocations: 71.98 kB / 1.514 GB, free: 2.441 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.001521/0.7117, allocations: 0.8056 MB / 1.515 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.7121, allocations: 147.1 kB / 1.515 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/0.7341, allocations: 8.738 MB / 1.524 GB, free: 8.703 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.7342, allocations: 20 kB / 1.524 GB, free: 8.684 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.094e-05/0.7343, allocations: 32 kB / 1.524 GB, free: 8.652 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/0.7343, allocations: 7.969 kB / 1.524 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/0.7645, allocations: 12.65 MB / 1.536 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/0.7645, allocations: 4 kB / 1.536 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.7651, allocations: 119.8 kB / 1.536 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01773/0.7828, allocations: 4.833 MB / 1.541 GB, free: 6.902 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003242/0.7831, allocations: 36 kB / 1.541 GB, free: 6.867 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06191/0.845, allocations: 35.91 MB / 1.576 GB, free: 2.469 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.8451, allocations: 15.88 kB / 1.576 GB, free: 2.453 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02153/0.8666, allocations: 8.444 MB / 1.584 GB, free: 9.918 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/0.8687, allocations: 0.5808 MB / 1.585 GB, free: 9.336 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/0.8691, allocations: 43.94 kB / 1.585 GB, free: 9.293 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.8706, allocations: 87.89 kB / 1.585 GB, free: 9.207 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008108/0.8714, allocations: 173.5 kB / 1.585 GB, free: 9.039 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.8716, allocations: 52 kB / 1.585 GB, free: 8.988 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001214/0.8728, allocations: 0.7382 MB / 1.586 GB, free: 8.238 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.8728, allocations: 0 / 1.586 GB, free: 8.238 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003201/0.876, allocations: 1 MB / 1.587 GB, free: 7.238 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.02143/0.8974, allocations: 9.051 MB / 1.596 GB, free: 14.09 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.9088, allocations: 5.729 MB / 1.601 GB, free: 8.305 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.9088, allocations: 0 / 1.601 GB, free: 8.305 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008603/0.9174, allocations: 3.793 MB / 1.605 GB, free: 4.465 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.919, allocations: 250.3 kB / 1.605 GB, free: 4.23 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6922/1.611, allocations: 30.81 MB / 1.635 GB, free: 225.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.614, allocations: 1.272 MB / 1.636 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001357/1.615, allocations: 358.6 kB / 1.637 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.616, allocations: 0.6013 MB / 1.637 GB, free: 224.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.616, allocations: 0 / 1.637 GB, free: 224.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/1.769, allocations: 80.67 MB / 1.716 GB, free: 161.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/15.14, allocations: 2.234 kB / 1.716 GB, free: 161.2 MB / 1.295 GB " [Timeout remaining time 285] (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.12939683208242]