Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001752/0.001752, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002015/0.002015, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.014/3.014, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.00197/0.00197, allocations: 71.89 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8475, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01024/0.8578, allocations: 10.19 MB / 1.35 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.8627, allocations: 3.103 MB / 1.353 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.8632, allocations: 45.38 kB / 1.353 GB, free: 7.207 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.865, allocations: 0.7016 MB / 1.354 GB, free: 6.797 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.8664, allocations: 0.726 MB / 1.355 GB, free: 6.375 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.8678, allocations: 0.6388 MB / 1.355 GB, free: 6.047 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.8707, allocations: 2.73 MB / 1.358 GB, free: 4.887 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.8728, allocations: 1.914 MB / 1.36 GB, free: 4.133 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.8745, allocations: 1.159 MB / 1.361 GB, free: 3.633 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.8764, allocations: 1.492 MB / 1.362 GB, free: 3.066 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.8767, allocations: 216.4 kB / 1.363 GB, free: 3.066 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.8777, allocations: 493.1 kB / 1.363 GB, free: 2.973 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000991/0.8787, allocations: 1.007 MB / 1.364 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.8797, allocations: 1.018 MB / 1.365 GB, free: 1.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.8834, allocations: 3.414 MB / 1.368 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8834, allocations: 1.375 kB / 1.368 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8834, allocations: 0 / 1.368 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.593e-05/0.8835, allocations: 0 / 1.368 GB, free: 0.8789 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003918/0.8874, allocations: 1.998 MB / 1.37 GB, free: 15.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8874, allocations: 9.25 kB / 1.37 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.371e-05/0.8875, allocations: 39.72 kB / 1.37 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003936/0.8879, allocations: 245.9 kB / 1.371 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.8941, allocations: 0.889 MB / 1.371 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.8965, allocations: 1.178 MB / 1.373 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.8966, allocations: 113.7 kB / 1.373 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.8969, allocations: 142.9 kB / 1.373 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/0.9023, allocations: 3.017 MB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.9023, allocations: 7.391 kB / 1.376 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.9025, allocations: 62.41 kB / 1.376 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.9028, allocations: 177 kB / 1.376 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.9072, allocations: 2.603 MB / 1.379 GB, free: 12.49 MB / 1.076 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.01771/0.9249, allocations: 13.51 MB / 1.392 GB, free: 2.641 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.9269, allocations: 1.222 MB / 1.393 GB, free: 2.234 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.9284, allocations: 0.9794 MB / 1.394 GB, free: 1.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.9285, allocations: 7.875 kB / 1.394 GB, free: 1.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.9285, allocations: 48.19 kB / 1.394 GB, free: 1.879 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.9285, allocations: 0 / 1.394 GB, free: 1.879 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07977/1.008, allocations: 19.35 MB / 1.413 GB, free: 9.25 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.008, allocations: 74.09 kB / 1.413 GB, free: 9.176 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.01, allocations: 0.9143 MB / 1.414 GB, free: 8.668 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/1.01, allocations: 49.67 kB / 1.414 GB, free: 8.617 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/1.011, allocations: 0.749 MB / 1.415 GB, free: 7.949 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/1.011, allocations: 0.4949 MB / 1.415 GB, free: 7.512 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/1.012, allocations: 293.6 kB / 1.415 GB, free: 7.359 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.012, allocations: 353.5 kB / 1.416 GB, free: 7.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.014, allocations: 1.338 MB / 1.417 GB, free: 6.34 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/1.016, allocations: 1.657 MB / 1.419 GB, free: 5.285 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/1.021, allocations: 3.09 MB / 1.422 GB, free: 3.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.021, allocations: 2.375 kB / 1.422 GB, free: 3.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01293/1.034, allocations: 5.558 MB / 1.427 GB, free: 13.96 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/1.034, allocations: 20 kB / 1.427 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/1.034, allocations: 8 kB / 1.427 GB, free: 13.94 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/1.044, allocations: 2.719 MB / 1.43 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/1.045, allocations: 191.7 kB / 1.43 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04095/1.086, allocations: 25.74 MB / 1.455 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.087, allocations: 91.95 kB / 1.455 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.088, allocations: 59.98 kB / 1.455 GB, free: 0.5742 MB / 1.123 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.001416/1.089, allocations: 0.7355 MB / 1.456 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.089, allocations: 123.2 kB / 1.456 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.102, allocations: 5.306 MB / 1.461 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.102, allocations: 12 kB / 1.461 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/1.102, allocations: 24 kB / 1.461 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/1.102, allocations: 7.969 kB / 1.461 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.12, allocations: 8.615 MB / 1.47 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.12, allocations: 4 kB / 1.47 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/1.121, allocations: 119.8 kB / 1.47 GB, free: 1.465 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009413/1.13, allocations: 2.595 MB / 1.472 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/1.13, allocations: 28 kB / 1.472 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03762/1.168, allocations: 24.16 MB / 1.496 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.168, allocations: 7.938 kB / 1.496 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.18, allocations: 5.167 MB / 1.501 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.181, allocations: 0.4923 MB / 1.501 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/1.181, allocations: 28.38 kB / 1.501 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/1.182, allocations: 75.91 kB / 1.502 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/1.183, allocations: 125 kB / 1.502 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.183, allocations: 40 kB / 1.502 GB, free: 72 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009632/1.184, allocations: 0.6397 MB / 1.502 GB, free: 15.44 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.184, allocations: 4 kB / 1.502 GB, free: 15.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002783/1.187, allocations: 0.7265 MB / 1.503 GB, free: 14.71 MB / 1.186 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.01245/1.199, allocations: 5.757 MB / 1.509 GB, free: 8.859 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007976/1.207, allocations: 4.074 MB / 1.513 GB, free: 4.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.207, allocations: 0 / 1.513 GB, free: 4.73 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005761/1.213, allocations: 2.619 MB / 1.515 GB, free: 2.062 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.215, allocations: 218.9 kB / 1.515 GB, free: 1.852 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/1.258, allocations: 21.31 MB / 1.536 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.26, allocations: 1.7 MB / 1.538 GB, free: 10.35 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008311/1.26, allocations: 325.4 kB / 1.538 GB, free: 10.03 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007699/1.261, allocations: 0.5344 MB / 1.539 GB, free: 9.492 MB / 1.217 GB Notification: Performance of SimCode: time 1.944e-06/1.261, allocations: 0 / 1.539 GB, free: 9.492 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.365, allocations: 53.13 MB / 1.591 GB, free: 4.695 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.79, allocations: 17.98 kB / 1.591 GB, free: 4.684 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.58528146398021]