Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.00155/0.00155, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001498/0.001498, allocations: 212.5 kB / 22.24 MB, free: 5.242 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.797 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.307/3.307, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.003109/0.003109, allocations: 68.05 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.355, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02993/0.385, allocations: 22.24 MB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.3973, allocations: 6.453 MB / 1.391 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.399, allocations: 131.1 kB / 1.392 GB, free: 1.148 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.4028, allocations: 1.51 MB / 1.393 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.407, allocations: 1.941 MB / 1.395 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.4104, allocations: 1.459 MB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008049/0.4185, allocations: 6.912 MB / 1.403 GB, free: 5.297 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005644/0.4241, allocations: 3.726 MB / 1.407 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004747/0.4288, allocations: 2.933 MB / 1.41 GB, free: 14.53 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.4349, allocations: 3.559 MB / 1.413 GB, free: 10.96 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.436, allocations: 0.5273 MB / 1.414 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.4386, allocations: 1.112 MB / 1.415 GB, free: 9.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.4414, allocations: 2.529 MB / 1.417 GB, free: 6.785 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/0.4443, allocations: 2.054 MB / 1.419 GB, free: 4.723 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00995/0.4543, allocations: 8.593 MB / 1.428 GB, free: 12.1 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4543, allocations: 0 / 1.428 GB, free: 12.1 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4543, allocations: 0 / 1.428 GB, free: 12.1 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001843/0.4545, allocations: 4 kB / 1.428 GB, free: 12.1 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008748/0.4632, allocations: 4.464 MB / 1.432 GB, free: 7.578 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4633, allocations: 8.031 kB / 1.432 GB, free: 7.57 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008572/0.4641, allocations: 0.5753 MB / 1.432 GB, free: 6.984 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008425/0.4726, allocations: 1.699 MB / 1.434 GB, free: 5.281 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/0.4792, allocations: 2.672 MB / 1.437 GB, free: 2.566 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.4794, allocations: 275.7 kB / 1.437 GB, free: 2.297 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008022/0.4802, allocations: 360.3 kB / 1.437 GB, free: 1.945 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.4926, allocations: 7.72 MB / 1.445 GB, free: 9.902 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.4927, allocations: 7.938 kB / 1.445 GB, free: 9.895 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/0.4931, allocations: 163.9 kB / 1.445 GB, free: 9.734 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006302/0.4938, allocations: 491.3 kB / 1.446 GB, free: 9.254 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.5043, allocations: 5.693 MB / 1.451 GB, free: 3.555 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0361/0.5405, allocations: 20.54 MB / 1.471 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.5437, allocations: 2.014 MB / 1.473 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.547, allocations: 2.112 MB / 1.475 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.5472, allocations: 17.31 kB / 1.475 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.5472, allocations: 47.88 kB / 1.475 GB, free: 10.33 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.878e-06/0.5472, allocations: 4 kB / 1.475 GB, free: 10.33 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.3264/0.8736, allocations: 76.71 MB / 1.55 GB, free: 13.49 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.8737, allocations: 81.41 kB / 1.55 GB, free: 13.39 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.8765, allocations: 1.701 MB / 1.552 GB, free: 11.65 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.8769, allocations: 69.7 kB / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.8783, allocations: 1.799 MB / 1.554 GB, free: 9.758 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.8794, allocations: 0.8946 MB / 1.555 GB, free: 8.855 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.8806, allocations: 485.4 kB / 1.555 GB, free: 8.375 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8807, allocations: 301.1 kB / 1.555 GB, free: 8.078 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/0.885, allocations: 2.73 MB / 1.558 GB, free: 5.344 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/0.8898, allocations: 3.339 MB / 1.561 GB, free: 1.758 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/0.8989, allocations: 6.397 MB / 1.568 GB, free: 11.12 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/0.8989, allocations: 8 kB / 1.568 GB, free: 11.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03596/0.9349, allocations: 14.4 MB / 1.582 GB, free: 12.66 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.9349, allocations: 14.66 kB / 1.582 GB, free: 12.65 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/0.935, allocations: 16 kB / 1.582 GB, free: 12.63 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03205/0.967, allocations: 9.2 MB / 1.591 GB, free: 3.406 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.9684, allocations: 307.4 kB / 1.591 GB, free: 3.105 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7203/1.689, allocations: 51.02 MB / 1.641 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/1.692, allocations: 223.3 kB / 1.641 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.692, allocations: 98.91 kB / 1.641 GB, free: 209.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002477/1.694, allocations: 1.587 MB / 1.643 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005147/1.695, allocations: 258.9 kB / 1.643 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/1.725, allocations: 14.47 MB / 1.657 GB, free: 204.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.725, allocations: 23.59 kB / 1.657 GB, free: 204.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/1.725, allocations: 44.62 kB / 1.657 GB, free: 204.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/1.725, allocations: 14.86 kB / 1.657 GB, free: 204.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03685/1.762, allocations: 19.54 MB / 1.676 GB, free: 197.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.762, allocations: 7.938 kB / 1.676 GB, free: 197.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007105/1.763, allocations: 161.3 kB / 1.676 GB, free: 197.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02603/1.789, allocations: 8.969 MB / 1.685 GB, free: 188.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/1.789, allocations: 50.31 kB / 1.685 GB, free: 188.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06399/1.853, allocations: 50.6 MB / 1.734 GB, free: 137.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.853, allocations: 8.266 kB / 1.735 GB, free: 137.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/1.881, allocations: 14.1 MB / 1.748 GB, free: 123.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/1.885, allocations: 0.7806 MB / 1.749 GB, free: 122.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006571/1.885, allocations: 59.92 kB / 1.749 GB, free: 122.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.888, allocations: 203.7 kB / 1.749 GB, free: 122.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.889, allocations: 257.3 kB / 1.75 GB, free: 121.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.889, allocations: 64 kB / 1.75 GB, free: 121.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001235/1.89, allocations: 1.125 MB / 1.751 GB, free: 120.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.89, allocations: 0 / 1.751 GB, free: 120.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004133/1.894, allocations: 1.613 MB / 1.752 GB, free: 119.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02784/1.922, allocations: 14.7 MB / 1.767 GB, free: 104.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02122/1.943, allocations: 10.2 MB / 1.777 GB, free: 94 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/1.943, allocations: 0 / 1.777 GB, free: 94 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01643/1.96, allocations: 7.019 MB / 1.783 GB, free: 86.95 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/1.965, allocations: 0.5588 MB / 1.784 GB, free: 86.42 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09708/2.062, allocations: 50.51 MB / 1.833 GB, free: 34.86 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004754/2.067, allocations: 2.677 MB / 1.836 GB, free: 32.14 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001072/2.068, allocations: 387.3 kB / 1.836 GB, free: 31.76 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/2.069, allocations: 1.464 MB / 1.838 GB, free: 30.3 MB / 1.295 GB Notification: Performance of SimCode: time 8.82e-07/2.069, allocations: 0 / 1.838 GB, free: 30.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2023/2.272, allocations: 129.3 MB / 1.964 GB, free: 13.66 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/17.04, allocations: 11.02 kB / 1.964 GB, free: 13.66 MB / 1.404 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 24.570623411331326]