Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001333/0.001333, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001527/0.001527, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_N,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",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.00196/0.00196, allocations: 63.62 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01328/0.3338, allocations: 10.51 MB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006753/0.3406, allocations: 3.291 MB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3416, allocations: 47.62 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.3436, allocations: 0.6244 MB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.3457, allocations: 0.774 MB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.3475, allocations: 0.7523 MB / 1.342 GB, free: 1.895 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.3512, allocations: 2.992 MB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.3535, allocations: 1.439 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3555, allocations: 1.285 MB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.3582, allocations: 1.698 MB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005939/0.3588, allocations: 236 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.36, allocations: 0.5072 MB / 1.35 GB, free: 9.676 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.3615, allocations: 1.099 MB / 1.351 GB, free: 8.574 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.3633, allocations: 1.112 MB / 1.352 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.3673, allocations: 3.695 MB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3673, allocations: 0 / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3673, allocations: 0 / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.243e-05/0.3673, allocations: 4 kB / 1.355 GB, free: 3.746 MB / 1.045 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.003995/0.3713, allocations: 2.123 MB / 1.357 GB, free: 1.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3714, allocations: 8.031 kB / 1.357 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003354/0.3717, allocations: 257.2 kB / 1.358 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007936/0.3796, allocations: 1.329 MB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.3825, allocations: 1.262 MB / 1.36 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.3826, allocations: 119.4 kB / 1.36 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.3829, allocations: 144.3 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/0.3884, allocations: 3.45 MB / 1.364 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.3884, allocations: 3.938 kB / 1.364 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.3886, allocations: 67.91 kB / 1.364 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.3889, allocations: 203.1 kB / 1.364 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/0.3939, allocations: 3.128 MB / 1.367 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.4128, allocations: 13.46 MB / 1.38 GB, free: 9.148 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.4153, allocations: 1.618 MB / 1.382 GB, free: 7.523 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.4173, allocations: 1.327 MB / 1.383 GB, free: 6.188 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.802e-05/0.4174, allocations: 16.92 kB / 1.383 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.4175, allocations: 51.5 kB / 1.383 GB, free: 6.113 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.156e-06/0.4175, allocations: 0 / 1.383 GB, free: 6.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.133/0.5505, allocations: 36.19 MB / 1.418 GB, free: 1.883 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.5506, allocations: 69.41 kB / 1.419 GB, free: 1.801 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.5522, allocations: 1.054 MB / 1.42 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/0.5525, allocations: 49.7 kB / 1.42 GB, free: 0.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.5531, allocations: 0.8171 MB / 1.42 GB, free: 15.84 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007378/0.5538, allocations: 0.6506 MB / 1.421 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/0.5547, allocations: 367.5 kB / 1.421 GB, free: 14.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5548, allocations: 301.1 kB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.5577, allocations: 1.928 MB / 1.424 GB, free: 12.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.5609, allocations: 2.285 MB / 1.426 GB, free: 10.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/0.567, allocations: 4.39 MB / 1.43 GB, free: 5.668 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.567, allocations: 4 kB / 1.43 GB, free: 5.664 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01998/0.587, allocations: 8.879 MB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.587, allocations: 8 kB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.587, allocations: 12 kB / 1.439 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/0.6037, allocations: 4.981 MB / 1.444 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/0.6046, allocations: 191.7 kB / 1.444 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06062/0.6652, allocations: 38.54 MB / 1.481 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.6671, allocations: 99.88 kB / 1.482 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/0.6674, allocations: 68 kB / 1.482 GB, free: 384 kB / 1.17 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.001669/0.6691, allocations: 0.8096 MB / 1.482 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.6695, allocations: 151.1 kB / 1.483 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/0.6893, allocations: 8.734 MB / 1.491 GB, free: 6.633 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.6893, allocations: 23.94 kB / 1.491 GB, free: 6.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-05/0.6894, allocations: 28 kB / 1.491 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.6894, allocations: 11.95 kB / 1.491 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02821/0.7176, allocations: 13.23 MB / 1.504 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/0.7177, allocations: 4 kB / 1.504 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.7182, allocations: 119.8 kB / 1.504 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/0.7344, allocations: 4.841 MB / 1.509 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/0.7347, allocations: 43.98 kB / 1.509 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05828/0.793, allocations: 36.45 MB / 1.545 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.793, allocations: 4.469 kB / 1.545 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/0.8132, allocations: 8.452 MB / 1.553 GB, free: 6.688 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.815, allocations: 0.5809 MB / 1.553 GB, free: 6.105 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/0.8156, allocations: 35.98 kB / 1.553 GB, free: 6.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.817, allocations: 91.83 kB / 1.554 GB, free: 5.98 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008624/0.8179, allocations: 169.6 kB / 1.554 GB, free: 5.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.8181, allocations: 52 kB / 1.554 GB, free: 5.766 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001173/0.8192, allocations: 0.7421 MB / 1.554 GB, free: 5.012 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.8192, allocations: 0 / 1.554 GB, free: 5.012 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003573/0.8228, allocations: 1 MB / 1.555 GB, free: 4.012 MB / 1.248 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.01987/0.8427, allocations: 9.039 MB / 1.564 GB, free: 10.88 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01126/0.8539, allocations: 5.749 MB / 1.57 GB, free: 5.07 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.8539, allocations: 4 kB / 1.57 GB, free: 5.066 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008068/0.862, allocations: 3.779 MB / 1.574 GB, free: 1.238 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.8637, allocations: 233.5 kB / 1.574 GB, free: 1.016 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06117/0.9248, allocations: 30.84 MB / 1.604 GB, free: 1.633 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6304/1.555, allocations: 1.855 MB / 1.606 GB, free: 265.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001122/1.556, allocations: 351.2 kB / 1.606 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007757/1.557, allocations: 0.6073 MB / 1.607 GB, free: 265.1 MB / 1.295 GB Notification: Performance of SimCode: time 9.42e-07/1.557, allocations: 1.438 kB / 1.607 GB, free: 265.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.678, allocations: 78.75 MB / 1.684 GB, free: 218 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.69, allocations: 3.938 kB / 1.684 GB, free: 218 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.441255286103114]