Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001463/0.001463, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001398/0.001398, allocations: 215 kB / 20.13 MB, free: 2.949 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.022/3.022, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_N,fileNamePrefix="Buildings_12_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_12_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.002108/0.002108, allocations: 59.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9377, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01003/0.9477, allocations: 10.23 MB / 1.331 GB, free: 17.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005341/0.9531, allocations: 3.238 MB / 1.335 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.9539, allocations: 50.06 kB / 1.335 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.9556, allocations: 0.6161 MB / 1.335 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.9574, allocations: 0.7777 MB / 1.336 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.9592, allocations: 0.7358 MB / 1.337 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004517/0.9638, allocations: 2.995 MB / 1.34 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.9661, allocations: 1.963 MB / 1.342 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.9685, allocations: 1.279 MB / 1.343 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.9711, allocations: 1.706 MB / 1.345 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.9716, allocations: 239.2 kB / 1.345 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.9729, allocations: 0.5071 MB / 1.345 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.9742, allocations: 1.093 MB / 1.346 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.9755, allocations: 1.118 MB / 1.347 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.9805, allocations: 3.697 MB / 1.351 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9805, allocations: 0.6094 kB / 1.351 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9805, allocations: 1.281 kB / 1.351 GB, free: 8.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001014/0.9806, allocations: 0 / 1.351 GB, free: 8.77 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.005336/0.9859, allocations: 2.197 MB / 1.353 GB, free: 7.422 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.986, allocations: 14.14 kB / 1.353 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.237e-05/0.986, allocations: 41.23 kB / 1.353 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004005/0.9864, allocations: 262.8 kB / 1.353 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/0.9963, allocations: 1.315 MB / 1.355 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.9994, allocations: 1.313 MB / 1.356 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.9995, allocations: 113.2 kB / 1.356 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/1, allocations: 152.6 kB / 1.356 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00583/1.006, allocations: 3.427 MB / 1.36 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/1.006, allocations: 10.05 kB / 1.36 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/1.006, allocations: 71.08 kB / 1.36 GB, free: 4.918 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003052/1.006, allocations: 205.7 kB / 1.36 GB, free: 4.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005443/1.012, allocations: 3.12 MB / 1.363 GB, free: 3.891 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/1.032, allocations: 13.57 MB / 1.376 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/1.035, allocations: 1.623 MB / 1.378 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/1.038, allocations: 1.328 MB / 1.379 GB, free: 9.836 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.038, allocations: 10.66 kB / 1.379 GB, free: 9.836 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/1.038, allocations: 40.89 kB / 1.379 GB, free: 9.793 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/1.038, allocations: 0 / 1.379 GB, free: 9.793 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1659/1.204, allocations: 36.57 MB / 1.415 GB, free: 9.016 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/1.204, allocations: 73.41 kB / 1.415 GB, free: 8.93 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.206, allocations: 1.05 MB / 1.416 GB, free: 7.855 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000551/1.206, allocations: 53.7 kB / 1.416 GB, free: 7.797 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/1.207, allocations: 0.8132 MB / 1.417 GB, free: 6.973 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.208, allocations: 0.6546 MB / 1.417 GB, free: 6.312 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/1.21, allocations: 363.5 kB / 1.418 GB, free: 5.953 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.21, allocations: 301.1 kB / 1.418 GB, free: 5.656 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/1.214, allocations: 1.932 MB / 1.42 GB, free: 3.723 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003646/1.217, allocations: 2.285 MB / 1.422 GB, free: 1.312 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/1.225, allocations: 4.395 MB / 1.426 GB, free: 12.79 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.225, allocations: 3.938 kB / 1.426 GB, free: 12.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02462/1.249, allocations: 8.872 MB / 1.435 GB, free: 3.891 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/1.249, allocations: 15.94 kB / 1.435 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.249, allocations: 8 kB / 1.435 GB, free: 3.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/1.269, allocations: 4.973 MB / 1.44 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.27, allocations: 191.7 kB / 1.44 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0693/1.339, allocations: 38.94 MB / 1.478 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.342, allocations: 95.89 kB / 1.478 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005768/1.342, allocations: 68 kB / 1.478 GB, free: 7.016 MB / 1.154 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.002133/1.345, allocations: 0.8133 MB / 1.479 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/1.345, allocations: 147.1 kB / 1.479 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/1.368, allocations: 8.734 MB / 1.488 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.368, allocations: 20 kB / 1.488 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.019e-05/1.368, allocations: 28 kB / 1.488 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-05/1.369, allocations: 11.95 kB / 1.488 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03228/1.401, allocations: 13.26 MB / 1.501 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/1.401, allocations: 4 kB / 1.501 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.401, allocations: 119.8 kB / 1.501 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01898/1.42, allocations: 4.832 MB / 1.506 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004826/1.421, allocations: 36 kB / 1.506 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06462/1.486, allocations: 36.86 MB / 1.542 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.486, allocations: 7.938 kB / 1.542 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/1.508, allocations: 8.448 MB / 1.55 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.51, allocations: 0.6405 MB / 1.551 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/1.511, allocations: 36 kB / 1.551 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.512, allocations: 91.88 kB / 1.551 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009299/1.513, allocations: 161.7 kB / 1.551 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.514, allocations: 52 kB / 1.551 GB, free: 11.8 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001285/1.515, allocations: 0.7382 MB / 1.552 GB, free: 11.05 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.1e-08/1.515, allocations: 0 / 1.552 GB, free: 11.05 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003891/1.519, allocations: 1 MB / 1.553 GB, free: 10.05 MB / 1.232 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.02203/1.541, allocations: 9.058 MB / 1.561 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.552, allocations: 5.737 MB / 1.567 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.552, allocations: 0 / 1.567 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.009202/1.562, allocations: 3.781 MB / 1.571 GB, free: 7.285 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.564, allocations: 241.8 kB / 1.571 GB, free: 7.051 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07024/1.634, allocations: 30.78 MB / 1.601 GB, free: 7.75 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.637, allocations: 1.859 MB / 1.603 GB, free: 5.852 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00106/1.638, allocations: 355.4 kB / 1.603 GB, free: 5.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.639, allocations: 0.6086 MB / 1.604 GB, free: 4.891 MB / 1.279 GB Notification: Performance of SimCode: time 9.31e-07/1.639, allocations: 0 / 1.604 GB, free: 4.891 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/1.808, allocations: 76.76 MB / 1.679 GB, free: 8.496 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.75, allocations: 7.859 kB / 1.679 GB, free: 8.488 MB / 1.357 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.713888814032543]