Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.002262/0.002262, allocations: 111.3 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.00252/0.00252, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.611/1.611, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.697/2.697, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 75.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.845, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01026/0.8553, allocations: 10.5 MB / 1.282 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.8608, allocations: 3.264 MB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.8613, allocations: 35.25 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.8631, allocations: 0.6235 MB / 1.286 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.8646, allocations: 0.7732 MB / 1.286 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.8664, allocations: 0.7619 MB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003569/0.87, allocations: 2.988 MB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.8718, allocations: 1.305 MB / 1.291 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.8734, allocations: 1.267 MB / 1.293 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.8757, allocations: 1.702 MB / 1.294 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.876, allocations: 237.5 kB / 1.294 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009976/0.877, allocations: 0.4977 MB / 1.295 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.8785, allocations: 1.11 MB / 1.296 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.8799, allocations: 1.107 MB / 1.297 GB, free: 8.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.8842, allocations: 3.701 MB / 1.301 GB, free: 7.812 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8842, allocations: 0 / 1.301 GB, free: 7.812 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8842, allocations: 0 / 1.301 GB, free: 7.812 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.604e-05/0.8842, allocations: 1.594 kB / 1.301 GB, free: 7.812 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004589/0.8888, allocations: 2.194 MB / 1.303 GB, free: 6.469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8889, allocations: 9.531 kB / 1.303 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004079/0.8893, allocations: 258.1 kB / 1.303 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009186/0.8985, allocations: 1.327 MB / 1.304 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.9008, allocations: 1.306 MB / 1.306 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/0.9009, allocations: 118.4 kB / 1.306 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.9013, allocations: 153 kB / 1.306 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005676/0.9069, allocations: 3.441 MB / 1.309 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.907, allocations: 1.938 kB / 1.309 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.9072, allocations: 67.12 kB / 1.309 GB, free: 3.965 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002753/0.9075, allocations: 204.5 kB / 1.31 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.9128, allocations: 3.129 MB / 1.313 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.9312, allocations: 13.55 MB / 1.326 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.9338, allocations: 1.627 MB / 1.327 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.9359, allocations: 1.332 MB / 1.329 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.936, allocations: 11.31 kB / 1.329 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.936, allocations: 45.39 kB / 1.329 GB, free: 8.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.936, allocations: 0 / 1.329 GB, free: 8.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1562/1.092, allocations: 36.56 MB / 1.364 GB, free: 4.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/1.092, allocations: 73.41 kB / 1.365 GB, free: 4.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.094, allocations: 1.054 MB / 1.366 GB, free: 3.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003397/1.094, allocations: 57.7 kB / 1.366 GB, free: 3.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/1.095, allocations: 0.8093 MB / 1.366 GB, free: 2.754 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007253/1.096, allocations: 0.6584 MB / 1.367 GB, free: 2.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008587/1.097, allocations: 363.5 kB / 1.367 GB, free: 1.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.097, allocations: 301.1 kB / 1.368 GB, free: 1.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/1.1, allocations: 1.928 MB / 1.37 GB, free: 15.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/1.103, allocations: 2.293 MB / 1.372 GB, free: 13.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006827/1.11, allocations: 4.39 MB / 1.376 GB, free: 8.566 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.11, allocations: 4 kB / 1.376 GB, free: 8.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02249/1.132, allocations: 8.883 MB / 1.385 GB, free: 15.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.133, allocations: 8 kB / 1.385 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.133, allocations: 11.98 kB / 1.385 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01883/1.151, allocations: 4.969 MB / 1.39 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/1.152, allocations: 195.6 kB / 1.39 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06675/1.219, allocations: 38.93 MB / 1.428 GB, free: 2.945 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/1.221, allocations: 99.89 kB / 1.428 GB, free: 2.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.222, allocations: 68 kB / 1.428 GB, free: 2.781 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001751/1.224, allocations: 0.8134 MB / 1.429 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.224, allocations: 151.1 kB / 1.429 GB, free: 1.809 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02248/1.246, allocations: 8.73 MB / 1.437 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.247, allocations: 24 kB / 1.438 GB, free: 9.016 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.155e-05/1.247, allocations: 28 kB / 1.438 GB, free: 8.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/1.247, allocations: 7.969 kB / 1.438 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03008/1.277, allocations: 13.26 MB / 1.45 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.277, allocations: 7.938 kB / 1.45 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.277, allocations: 115.9 kB / 1.451 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/1.296, allocations: 4.841 MB / 1.455 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004253/1.296, allocations: 31.98 kB / 1.455 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06304/1.359, allocations: 36.85 MB / 1.491 GB, free: 1.121 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.359, allocations: 11.88 kB / 1.491 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/1.381, allocations: 8.452 MB / 1.5 GB, free: 8.566 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.383, allocations: 0.6483 MB / 1.5 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006729/1.384, allocations: 32 kB / 1.5 GB, free: 7.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.386, allocations: 91.89 kB / 1.5 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009977/1.387, allocations: 165.6 kB / 1.501 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.387, allocations: 48 kB / 1.501 GB, free: 7.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001299/1.388, allocations: 0.7343 MB / 1.501 GB, free: 6.824 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.388, allocations: 0 / 1.501 GB, free: 6.824 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00406/1.392, allocations: 1.008 MB / 1.502 GB, free: 5.816 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02152/1.414, allocations: 9.04 MB / 1.511 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.425, allocations: 5.747 MB / 1.517 GB, free: 6.883 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.425, allocations: 0 / 1.517 GB, free: 6.883 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.008805/1.434, allocations: 3.782 MB / 1.52 GB, free: 3.055 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.436, allocations: 234.9 kB / 1.521 GB, free: 2.824 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06822/1.504, allocations: 30.83 MB / 1.551 GB, free: 3.453 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.506, allocations: 1.855 MB / 1.553 GB, free: 1.559 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009642/1.507, allocations: 363.4 kB / 1.553 GB, free: 1.199 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009129/1.508, allocations: 0.6047 MB / 1.553 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of SimCode: time 1.222e-06/1.508, allocations: 4 kB / 1.553 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/1.652, allocations: 77.32 MB / 1.629 GB, free: 3.52 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.01, allocations: 10.5 kB / 1.629 GB, free: 3.516 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 20.122546783997677]