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.00176/0.00176, allocations: 114 kB / 17.6 MB, free: 4.699 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.001987/0.001987, allocations: 186.7 kB / 20.78 MB, free: 1.535 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.441/1.441, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.72/2.72, allocations: 476.7 MB / 0.7629 GB, free: 15.09 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.001941/0.001941, allocations: 63.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8215, allocations: 168.7 MB / 1.272 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01083/0.8323, allocations: 10.47 MB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005865/0.8382, allocations: 3.134 MB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.8387, allocations: 42.06 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.8406, allocations: 0.7007 MB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.8421, allocations: 0.7256 MB / 1.286 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.8436, allocations: 0.6539 MB / 1.287 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.8464, allocations: 2.738 MB / 1.29 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.8481, allocations: 1.262 MB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.8496, allocations: 1.138 MB / 1.292 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.8515, allocations: 1.495 MB / 1.293 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.8517, allocations: 217.3 kB / 1.294 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.8526, allocations: 496.6 kB / 1.294 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009895/0.8536, allocations: 1.007 MB / 1.295 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.855, allocations: 1.011 MB / 1.296 GB, free: 9.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.8597, allocations: 3.429 MB / 1.299 GB, free: 8.348 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8597, allocations: 0 / 1.299 GB, free: 8.348 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8597, allocations: 1.375 kB / 1.299 GB, free: 8.348 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.654e-05/0.8598, allocations: 0 / 1.299 GB, free: 8.348 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.00515/0.865, allocations: 1.982 MB / 1.301 GB, free: 7.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.865, allocations: 14.2 kB / 1.301 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003878/0.8654, allocations: 253.1 kB / 1.302 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.8714, allocations: 0.898 MB / 1.302 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.8735, allocations: 1.172 MB / 1.304 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.8735, allocations: 110.2 kB / 1.304 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.8739, allocations: 138.7 kB / 1.304 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.8789, allocations: 3.022 MB / 1.307 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.879, allocations: 6.125 kB / 1.307 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.8792, allocations: 61.92 kB / 1.307 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.8794, allocations: 177.5 kB / 1.307 GB, free: 4.805 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.884, allocations: 2.604 MB / 1.31 GB, free: 3.965 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.01737/0.9014, allocations: 13.5 MB / 1.323 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.9035, allocations: 1.229 MB / 1.324 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.9049, allocations: 0.9831 MB / 1.325 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.905, allocations: 9.469 kB / 1.325 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.905, allocations: 37.97 kB / 1.325 GB, free: 9.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.905, allocations: 1.375 kB / 1.325 GB, free: 9.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07627/0.9813, allocations: 19.34 MB / 1.344 GB, free: 2.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.9813, allocations: 65.75 kB / 1.344 GB, free: 2.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.9827, allocations: 0.9219 MB / 1.345 GB, free: 1.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.9829, allocations: 46.64 kB / 1.345 GB, free: 1.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/0.9834, allocations: 0.7488 MB / 1.346 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.9839, allocations: 0.5033 MB / 1.346 GB, free: 436 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.9845, allocations: 293.4 kB / 1.346 GB, free: 284 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9847, allocations: 353.9 kB / 1.347 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.9867, allocations: 1.334 MB / 1.348 GB, free: 15.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.9889, allocations: 1.656 MB / 1.35 GB, free: 14.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.9935, allocations: 3.086 MB / 1.353 GB, free: 12.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.9935, allocations: 2.219 kB / 1.353 GB, free: 12.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0127/1.006, allocations: 5.558 MB / 1.358 GB, free: 9.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.006, allocations: 12.19 kB / 1.358 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.006, allocations: 9.625 kB / 1.358 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009347/1.016, allocations: 2.726 MB / 1.361 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/1.017, allocations: 190.9 kB / 1.361 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03967/1.056, allocations: 25.74 MB / 1.386 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.058, allocations: 96.08 kB / 1.386 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.058, allocations: 63.98 kB / 1.386 GB, free: 13.39 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.001434/1.059, allocations: 0.7328 MB / 1.387 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/1.06, allocations: 127.2 kB / 1.387 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.072, allocations: 5.31 MB / 1.392 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.072, allocations: 15.94 kB / 1.392 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/1.072, allocations: 20 kB / 1.392 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.072, allocations: 7.969 kB / 1.392 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.09, allocations: 8.611 MB / 1.401 GB, free: 14.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.09, allocations: 4 kB / 1.401 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/1.091, allocations: 115.9 kB / 1.401 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009045/1.1, allocations: 2.601 MB / 1.403 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/1.1, allocations: 28 kB / 1.403 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/1.137, allocations: 24.16 MB / 1.427 GB, free: 2.91 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/1.137, allocations: 15.92 kB / 1.427 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.149, allocations: 5.175 MB / 1.432 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.15, allocations: 492.2 kB / 1.432 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/1.15, allocations: 32 kB / 1.432 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/1.151, allocations: 71.91 kB / 1.433 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.152, allocations: 121 kB / 1.433 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.152, allocations: 44 kB / 1.433 GB, free: 12.87 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009265/1.153, allocations: 0.6434 MB / 1.433 GB, free: 12.23 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.433 GB, free: 12.23 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00254/1.155, allocations: 0.7227 MB / 1.434 GB, free: 11.5 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.01198/1.167, allocations: 5.75 MB / 1.44 GB, free: 5.664 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007636/1.175, allocations: 4.086 MB / 1.444 GB, free: 1.527 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.175, allocations: 384 / 1.444 GB, free: 1.527 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005516/1.181, allocations: 2.612 MB / 1.446 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.182, allocations: 218.7 kB / 1.446 GB, free: 14.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04124/1.223, allocations: 21.35 MB / 1.467 GB, free: 8.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/1.225, allocations: 1.708 MB / 1.469 GB, free: 7.102 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008599/1.226, allocations: 325.4 kB / 1.469 GB, free: 6.781 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/1.227, allocations: 0.5383 MB / 1.47 GB, free: 6.242 MB / 1.154 GB Notification: Performance of SimCode: time 7.81e-07/1.227, allocations: 0 / 1.47 GB, free: 6.242 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.332, allocations: 53.47 MB / 1.522 GB, free: 1.051 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.84, allocations: 10.31 kB / 1.522 GB, free: 1.043 MB / 1.201 GB " [Timeout remaining time 287] (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 --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: 18.7616559919843]