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.001249/0.001249, allocations: 104.5 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.001265/0.001265, 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.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.821/2.821, allocations: 476.7 MB / 0.7611 GB, free: 15.7 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.00204/0.00204, allocations: 63.91 kB / 1.104 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9473, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01119/0.9585, allocations: 10.17 MB / 1.279 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005779/0.9643, allocations: 3.083 MB / 1.282 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009649/0.9653, allocations: 34.09 kB / 1.282 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.9675, allocations: 0.692 MB / 1.282 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.9695, allocations: 0.735 MB / 1.283 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.9712, allocations: 0.6432 MB / 1.284 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.9747, allocations: 2.732 MB / 1.286 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.9772, allocations: 1.898 MB / 1.288 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.9794, allocations: 1.139 MB / 1.289 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.9818, allocations: 1.496 MB / 1.291 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.982, allocations: 216.7 kB / 1.291 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.9831, allocations: 497.5 kB / 1.292 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.9843, allocations: 1.01 MB / 1.293 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.9862, allocations: 1.007 MB / 1.293 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.9914, allocations: 3.426 MB / 1.297 GB, free: 8.402 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9914, allocations: 1.312 kB / 1.297 GB, free: 8.402 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9914, allocations: 1.078 kB / 1.297 GB, free: 8.402 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.181e-05/0.9915, allocations: 0 / 1.297 GB, free: 8.402 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004499/0.996, allocations: 1.989 MB / 1.299 GB, free: 7.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.996, allocations: 10.25 kB / 1.299 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/0.9964, allocations: 256.6 kB / 1.299 GB, free: 7.004 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/1.002, allocations: 0.8926 MB / 1.3 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/1.005, allocations: 1.169 MB / 1.301 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/1.005, allocations: 110.6 kB / 1.301 GB, free: 6.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/1.005, allocations: 142.9 kB / 1.301 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/1.01, allocations: 3.021 MB / 1.304 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/1.01, allocations: 6.031 kB / 1.304 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/1.01, allocations: 62.97 kB / 1.304 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/1.011, allocations: 177.2 kB / 1.304 GB, free: 4.855 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/1.015, allocations: 2.603 MB / 1.307 GB, free: 4.016 MB / 1.014 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.02014/1.035, allocations: 13.5 MB / 1.32 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/1.037, allocations: 1.223 MB / 1.321 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.039, allocations: 0.9794 MB / 1.322 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/1.039, allocations: 11.81 kB / 1.322 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.039, allocations: 39.33 kB / 1.322 GB, free: 9.406 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 4.428e-06/1.039, allocations: 4.875 kB / 1.322 GB, free: 9.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07167/1.11, allocations: 19.33 MB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.111, allocations: 69.2 kB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.112, allocations: 0.9184 MB / 1.342 GB, free: 2.008 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002699/1.112, allocations: 45.95 kB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/1.113, allocations: 0.7523 MB / 1.343 GB, free: 1.289 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/1.113, allocations: 0.4992 MB / 1.344 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/1.114, allocations: 297.3 kB / 1.344 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.114, allocations: 354.3 kB / 1.344 GB, free: 364 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.116, allocations: 1.334 MB / 1.345 GB, free: 15.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/1.119, allocations: 1.656 MB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/1.123, allocations: 3.085 MB / 1.35 GB, free: 12.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.123, allocations: 2.344 kB / 1.35 GB, free: 12.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01224/1.135, allocations: 5.563 MB / 1.355 GB, free: 9.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.135, allocations: 14.84 kB / 1.356 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.135, allocations: 9 kB / 1.356 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/1.144, allocations: 2.716 MB / 1.358 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/1.145, allocations: 191.6 kB / 1.358 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03963/1.185, allocations: 25.75 MB / 1.383 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.186, allocations: 92.45 kB / 1.384 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.187, allocations: 56 kB / 1.384 GB, free: 13.78 MB / 1.076 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.001374/1.188, allocations: 0.7437 MB / 1.384 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.188, allocations: 123.2 kB / 1.384 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.2, allocations: 5.31 MB / 1.39 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.2, allocations: 16 kB / 1.39 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-05/1.2, allocations: 23.94 kB / 1.39 GB, free: 7.516 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.2, allocations: 7.969 kB / 1.39 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.218, allocations: 8.611 MB / 1.398 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.218, allocations: 0 / 1.398 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/1.219, allocations: 119.8 kB / 1.398 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008593/1.227, allocations: 2.599 MB / 1.401 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.228, allocations: 27.94 kB / 1.401 GB, free: 12.03 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03685/1.264, allocations: 24.17 MB / 1.424 GB, free: 3.285 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.264, allocations: 8 kB / 1.424 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.276, allocations: 5.179 MB / 1.429 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.278, allocations: 492.2 kB / 1.43 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/1.278, allocations: 27.98 kB / 1.43 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008882/1.279, allocations: 75.91 kB / 1.43 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/1.279, allocations: 125 kB / 1.43 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.28, allocations: 43.98 kB / 1.43 GB, free: 13.25 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000919/1.281, allocations: 0.6434 MB / 1.431 GB, free: 12.61 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.281, allocations: 0 / 1.431 GB, free: 12.61 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002659/1.283, allocations: 0.7188 MB / 1.432 GB, free: 11.89 MB / 1.123 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.01178/1.295, allocations: 5.755 MB / 1.437 GB, free: 6.043 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007925/1.303, allocations: 4.078 MB / 1.441 GB, free: 1.914 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.303, allocations: 448 / 1.441 GB, free: 1.914 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005782/1.309, allocations: 2.622 MB / 1.444 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.31, allocations: 224.6 kB / 1.444 GB, free: 15.03 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04108/1.351, allocations: 21.28 MB / 1.465 GB, free: 9.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.353, allocations: 1.704 MB / 1.466 GB, free: 7.535 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008858/1.354, allocations: 321.5 kB / 1.467 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/1.355, allocations: 0.5305 MB / 1.467 GB, free: 6.688 MB / 1.154 GB Notification: Performance of SimCode: time 1.453e-06/1.355, allocations: 0 / 1.467 GB, free: 6.688 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.461, allocations: 53.09 MB / 1.519 GB, free: 1.945 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.58, allocations: 10.61 kB / 1.519 GB, free: 1.938 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.881857295986265]