Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001289/0.001289, allocations: 106.1 kB / 16.4 MB, free: 6.504 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.001303/0.001303, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.404/1.404, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.725/2.725, allocations: 469.8 MB / 0.7491 GB, free: 3.004 MB / 0.6075 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.88 kB / 1.073 GB, free: 112 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8244, allocations: 159.1 MB / 1.229 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01415/0.8386, allocations: 10.02 MB / 1.238 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005662/0.8443, allocations: 3.049 MB / 1.241 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.845, allocations: 35.88 kB / 1.241 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.8469, allocations: 0.6842 MB / 1.242 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.8484, allocations: 0.6883 MB / 1.243 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.8499, allocations: 0.6456 MB / 1.243 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.8533, allocations: 2.73 MB / 1.246 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.8566, allocations: 2.534 MB / 1.249 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.8583, allocations: 1.126 MB / 1.25 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.8604, allocations: 1.379 MB / 1.251 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.8608, allocations: 216 kB / 1.251 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.8619, allocations: 495.3 kB / 1.252 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.863, allocations: 0.9785 MB / 1.253 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.8643, allocations: 1.015 MB / 1.254 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.8682, allocations: 3.424 MB / 1.257 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.8682, allocations: 0 / 1.257 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8682, allocations: 0 / 1.257 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.375e-05/0.8683, allocations: 0 / 1.257 GB, free: 7.641 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00384/0.8722, allocations: 1.984 MB / 1.259 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.8722, allocations: 8.031 kB / 1.259 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003864/0.8726, allocations: 256.7 kB / 1.259 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005889/0.8785, allocations: 0.8893 MB / 1.26 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.8809, allocations: 1.173 MB / 1.261 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.881, allocations: 115.3 kB / 1.261 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.8814, allocations: 140.4 kB / 1.261 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/0.8868, allocations: 3.017 MB / 1.264 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.8869, allocations: 3.938 kB / 1.264 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.8871, allocations: 67.91 kB / 1.264 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002572/0.8874, allocations: 175 kB / 1.265 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004601/0.892, allocations: 2.612 MB / 1.267 GB, free: 12.99 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01891/0.9109, allocations: 13.5 MB / 1.28 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.9131, allocations: 1.291 MB / 1.282 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.9147, allocations: 1.054 MB / 1.283 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.9148, allocations: 8.656 kB / 1.283 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.9149, allocations: 47.22 kB / 1.283 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.9149, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.08405/0.9989, allocations: 19.41 MB / 1.302 GB, free: 8.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.999, allocations: 64.72 kB / 1.302 GB, free: 8.344 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1, allocations: 0.9223 MB / 1.303 GB, free: 7.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/1.001, allocations: 49.64 kB / 1.303 GB, free: 7.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/1.001, allocations: 0.7579 MB / 1.303 GB, free: 6.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/1.002, allocations: 0.4957 MB / 1.304 GB, free: 6.086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/1.003, allocations: 295.5 kB / 1.304 GB, free: 5.793 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.003, allocations: 353.9 kB / 1.304 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/1.005, allocations: 1.335 MB / 1.306 GB, free: 4.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/1.007, allocations: 1.655 MB / 1.307 GB, free: 2.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/1.012, allocations: 3.091 MB / 1.31 GB, free: 15.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.012, allocations: 4 kB / 1.31 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01314/1.025, allocations: 5.643 MB / 1.316 GB, free: 9.453 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.025, allocations: 11.94 kB / 1.316 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.025, allocations: 8 kB / 1.316 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009645/1.035, allocations: 2.721 MB / 1.319 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009312/1.036, allocations: 187.7 kB / 1.319 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04157/1.078, allocations: 25.74 MB / 1.344 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/1.079, allocations: 99.94 kB / 1.344 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.079, allocations: 56 kB / 1.344 GB, free: 12.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001275/1.081, allocations: 0.7333 MB / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/1.081, allocations: 127.2 kB / 1.345 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.093, allocations: 5.392 MB / 1.35 GB, free: 5.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.093, allocations: 19.94 kB / 1.35 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.51e-05/1.094, allocations: 16.5 kB / 1.35 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.094, allocations: 7.969 kB / 1.35 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.115, allocations: 8.693 MB / 1.359 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/1.115, allocations: 4 kB / 1.359 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/1.115, allocations: 116.3 kB / 1.359 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009104/1.125, allocations: 2.598 MB / 1.361 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.125, allocations: 27.98 kB / 1.361 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03797/1.163, allocations: 24.17 MB / 1.385 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.163, allocations: 7.938 kB / 1.385 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.175, allocations: 5.257 MB / 1.39 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.176, allocations: 492.4 kB / 1.391 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/1.176, allocations: 24 kB / 1.391 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/1.177, allocations: 87.83 kB / 1.391 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/1.178, allocations: 121 kB / 1.391 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.178, allocations: 36 kB / 1.391 GB, free: 11.3 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009089/1.179, allocations: 0.6473 MB / 1.392 GB, free: 10.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.179, allocations: 0 / 1.392 GB, free: 10.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002301/1.181, allocations: 0.7188 MB / 1.392 GB, free: 9.938 MB / 1.107 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/1.196, allocations: 5.834 MB / 1.398 GB, free: 4.016 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00823/1.204, allocations: 4.219 MB / 1.402 GB, free: 15.75 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.204, allocations: 0 / 1.402 GB, free: 15.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005757/1.21, allocations: 2.724 MB / 1.405 GB, free: 12.97 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.212, allocations: 218.4 kB / 1.405 GB, free: 12.77 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04112/1.253, allocations: 21.45 MB / 1.426 GB, free: 6.844 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.255, allocations: 1.708 MB / 1.428 GB, free: 5.105 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008477/1.256, allocations: 325.5 kB / 1.428 GB, free: 4.785 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007528/1.256, allocations: 0.5305 MB / 1.428 GB, free: 4.254 MB / 1.139 GB Notification: Performance of SimCode: time 1.163e-06/1.256, allocations: 0 / 1.428 GB, free: 4.254 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/1.388, allocations: 52.71 MB / 1.48 GB, free: 15.91 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.69, allocations: 11.8 kB / 1.48 GB, free: 15.89 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 19.73947402392514]