Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8712, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01071/0.8819, allocations: 10.24 MB / 1.279 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.8877, allocations: 3.206 MB / 1.282 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006114/0.8883, allocations: 37.22 kB / 1.282 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.8901, allocations: 0.6118 MB / 1.283 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.8919, allocations: 0.778 MB / 1.283 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.8937, allocations: 0.7473 MB / 1.284 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003813/0.8975, allocations: 2.995 MB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.9005, allocations: 1.957 MB / 1.289 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.9028, allocations: 1.262 MB / 1.29 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.9055, allocations: 1.701 MB / 1.292 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004807/0.906, allocations: 236.2 kB / 1.292 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.9073, allocations: 0.5072 MB / 1.292 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.9091, allocations: 1.101 MB / 1.294 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.9107, allocations: 1.107 MB / 1.295 GB, free: 8.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.916, allocations: 3.697 MB / 1.298 GB, free: 7.805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.916, allocations: 0 / 1.298 GB, free: 7.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.916, allocations: 0 / 1.298 GB, free: 7.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.302e-05/0.9161, allocations: 2.172 kB / 1.298 GB, free: 7.805 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005191/0.9213, allocations: 2.193 MB / 1.3 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9213, allocations: 13.12 kB / 1.3 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00043/0.9218, allocations: 263 kB / 1.301 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008926/0.9307, allocations: 1.321 MB / 1.302 GB, free: 6.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.9344, allocations: 1.307 MB / 1.303 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.9345, allocations: 116.3 kB / 1.303 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000401/0.9349, allocations: 148.7 kB / 1.303 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005951/0.9409, allocations: 3.433 MB / 1.307 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.9409, allocations: 10.02 kB / 1.307 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.9412, allocations: 74.31 kB / 1.307 GB, free: 3.953 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002923/0.9415, allocations: 205.4 kB / 1.307 GB, free: 3.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/0.9468, allocations: 3.124 MB / 1.31 GB, free: 2.922 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.9687, allocations: 13.56 MB / 1.323 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.9714, allocations: 1.62 MB / 1.325 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.9734, allocations: 1.329 MB / 1.326 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.9735, allocations: 11 kB / 1.326 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.9736, allocations: 43.88 kB / 1.326 GB, free: 8.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.9736, allocations: 0 / 1.326 GB, free: 8.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1419/1.116, allocations: 36.57 MB / 1.362 GB, free: 5.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.116, allocations: 73.41 kB / 1.362 GB, free: 4.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/1.117, allocations: 1.054 MB / 1.363 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/1.118, allocations: 57.7 kB / 1.363 GB, free: 3.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/1.118, allocations: 0.8054 MB / 1.364 GB, free: 2.977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007086/1.119, allocations: 0.6623 MB / 1.365 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008075/1.12, allocations: 359.5 kB / 1.365 GB, free: 1.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.12, allocations: 301.1 kB / 1.365 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.123, allocations: 1.936 MB / 1.367 GB, free: 15.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/1.126, allocations: 2.292 MB / 1.369 GB, free: 13.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006433/1.133, allocations: 4.392 MB / 1.374 GB, free: 8.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.133, allocations: 3.984 kB / 1.374 GB, free: 8.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02172/1.154, allocations: 8.879 MB / 1.382 GB, free: 15.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.154, allocations: 12 kB / 1.382 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.154, allocations: 8 kB / 1.382 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/1.172, allocations: 4.966 MB / 1.387 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.173, allocations: 199.6 kB / 1.387 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06309/1.236, allocations: 38.94 MB / 1.425 GB, free: 3.156 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.238, allocations: 95.89 kB / 1.425 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/1.239, allocations: 68 kB / 1.426 GB, free: 2.996 MB / 1.107 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.001734/1.24, allocations: 0.8095 MB / 1.426 GB, free: 2.176 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/1.241, allocations: 143.1 kB / 1.426 GB, free: 2.035 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/1.261, allocations: 8.741 MB / 1.435 GB, free: 9.254 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/1.261, allocations: 20 kB / 1.435 GB, free: 9.234 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.012e-05/1.261, allocations: 28 kB / 1.435 GB, free: 9.207 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/1.261, allocations: 7.969 kB / 1.435 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/1.29, allocations: 13.26 MB / 1.448 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.29, allocations: 4 kB / 1.448 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.291, allocations: 119.8 kB / 1.448 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/1.308, allocations: 4.838 MB / 1.453 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/1.308, allocations: 32 kB / 1.453 GB, free: 6.785 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05912/1.367, allocations: 36.85 MB / 1.489 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.367, allocations: 11.88 kB / 1.489 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.387, allocations: 8.452 MB / 1.497 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.389, allocations: 0.6444 MB / 1.498 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.39, allocations: 39.98 kB / 1.498 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.391, allocations: 87.89 kB / 1.498 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/1.392, allocations: 165.7 kB / 1.498 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.392, allocations: 44 kB / 1.498 GB, free: 7.793 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001095/1.393, allocations: 0.7382 MB / 1.499 GB, free: 7.043 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.393, allocations: 0 / 1.499 GB, free: 7.043 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003183/1.396, allocations: 1.004 MB / 1.5 GB, free: 6.039 MB / 1.186 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.02067/1.417, allocations: 9.043 MB / 1.509 GB, free: 12.9 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.428, allocations: 5.744 MB / 1.514 GB, free: 7.105 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.428, allocations: 0 / 1.514 GB, free: 7.105 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.008247/1.436, allocations: 3.774 MB / 1.518 GB, free: 3.285 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.438, allocations: 245.4 kB / 1.518 GB, free: 3.047 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06294/1.501, allocations: 30.79 MB / 1.548 GB, free: 3.727 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/1.503, allocations: 1.859 MB / 1.55 GB, free: 1.828 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009439/1.504, allocations: 355.4 kB / 1.55 GB, free: 1.477 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/1.505, allocations: 0.6086 MB / 1.551 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/1.505, allocations: 0 / 1.551 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.644, allocations: 76.71 MB / 1.626 GB, free: 4.488 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.39, allocations: 7.984 kB / 1.626 GB, free: 4.48 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.762125346809626]