Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001328/0.001328, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001352/0.001352, allocations: 186 kB / 20.78 MB, free: 1.547 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.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.145 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 3.079/3.079, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.91 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9016, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006288/0.9079, allocations: 5.047 MB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.9119, allocations: 2.56 MB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.9124, allocations: 24.41 kB / 1.279 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.9135, allocations: 421.7 kB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.9147, allocations: 469.3 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.9157, allocations: 406.5 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.9169, allocations: 0.9216 MB / 1.282 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004761/0.9173, allocations: 266.3 kB / 1.282 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.9178, allocations: 339.9 kB / 1.282 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.9183, allocations: 369.2 kB / 1.282 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.9184, allocations: 39.41 kB / 1.283 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.9191, allocations: 415.1 kB / 1.283 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.9193, allocations: 192.9 kB / 1.283 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.9196, allocations: 322.2 kB / 1.283 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.9207, allocations: 0.8885 MB / 1.284 GB, free: 448 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9207, allocations: 4.609 kB / 1.284 GB, free: 444 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9207, allocations: 0.625 kB / 1.284 GB, free: 444 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.9208, allocations: 0 / 1.284 GB, free: 444 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001462/0.9222, allocations: 0.9593 MB / 1.285 GB, free: 15.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9223, allocations: 10.44 kB / 1.285 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.9235, allocations: 214.8 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/0.9244, allocations: 0.5497 MB / 1.286 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.9245, allocations: 38.67 kB / 1.286 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.9245, allocations: 44.42 kB / 1.286 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.9258, allocations: 0.8506 MB / 1.287 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.9258, allocations: 14.64 kB / 1.287 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.9259, allocations: 19.78 kB / 1.287 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.426e-05/0.926, allocations: 67.05 kB / 1.287 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.9269, allocations: 0.5632 MB / 1.288 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.9319, allocations: 5.659 MB / 1.293 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.9326, allocations: 420.6 kB / 1.293 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.9329, allocations: 201.8 kB / 1.294 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.9329, allocations: 3.969 kB / 1.294 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.9329, allocations: 37.97 kB / 1.294 GB, free: 9.039 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.9329, allocations: 0 / 1.294 GB, free: 9.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002729/0.9357, allocations: 1.52 MB / 1.295 GB, free: 8.086 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.9357, allocations: 58.36 kB / 1.295 GB, free: 8.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.9363, allocations: 0.5002 MB / 1.296 GB, free: 7.785 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.9363, allocations: 31.8 kB / 1.296 GB, free: 7.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.9366, allocations: 372.1 kB / 1.296 GB, free: 7.449 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.9367, allocations: 121.6 kB / 1.296 GB, free: 7.355 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.9368, allocations: 110.4 kB / 1.296 GB, free: 7.293 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.937, allocations: 368.2 kB / 1.297 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.9373, allocations: 193.9 kB / 1.297 GB, free: 6.895 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.9378, allocations: 448.2 kB / 1.297 GB, free: 6.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.9386, allocations: 0.6913 MB / 1.298 GB, free: 5.969 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9386, allocations: 3.344 kB / 1.298 GB, free: 5.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001303/0.9399, allocations: 0.8115 MB / 1.299 GB, free: 5.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.94, allocations: 8.438 kB / 1.299 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.94, allocations: 9.312 kB / 1.299 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.9405, allocations: 160.8 kB / 1.299 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.941, allocations: 122.2 kB / 1.299 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.945, allocations: 4.347 MB / 1.303 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.9455, allocations: 31.88 kB / 1.303 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.9455, allocations: 28.91 kB / 1.303 GB, free: 1.234 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003335/0.9459, allocations: 215.5 kB / 1.304 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.946, allocations: 70.86 kB / 1.304 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.947, allocations: 0.5946 MB / 1.304 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.947, allocations: 6.5 kB / 1.304 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.947, allocations: 2.156 kB / 1.304 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.9471, allocations: 1.922 kB / 1.304 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.949, allocations: 1.265 MB / 1.305 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.949, allocations: 2.562 kB / 1.305 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.9493, allocations: 54.91 kB / 1.305 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.9498, allocations: 142.4 kB / 1.306 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.9498, allocations: 12.03 kB / 1.306 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.9535, allocations: 4.333 MB / 1.31 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9535, allocations: 6.375 kB / 1.31 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.9547, allocations: 0.7177 MB / 1.311 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.9549, allocations: 170.9 kB / 1.311 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.955, allocations: 16.81 kB / 1.311 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.9553, allocations: 26.39 kB / 1.311 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.9554, allocations: 32.02 kB / 1.311 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.9554, allocations: 12.12 kB / 1.311 GB, free: 11.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004325/0.9558, allocations: 338.2 kB / 1.311 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.9558, allocations: 1.188 kB / 1.311 GB, free: 10.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006903/0.9565, allocations: 145.8 kB / 1.311 GB, free: 10.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001758/0.9567, allocations: 110.2 kB / 1.311 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.9582, allocations: 1.009 MB / 1.312 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.9582, allocations: 5.375 kB / 1.312 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.9591, allocations: 0.7228 MB / 1.313 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.9602, allocations: 205.5 kB / 1.313 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.9621, allocations: 1.061 MB / 1.314 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.9627, allocations: 0.9091 MB / 1.315 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.9631, allocations: 128 kB / 1.315 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.9632, allocations: 39.12 kB / 1.315 GB, free: 8.047 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/0.9632, allocations: 1.188 kB / 1.315 GB, free: 8.047 MB / 1.029 GB Notification: Performance of Templates: time 0.01915/0.9823, allocations: 7.952 MB / 1.323 GB, free: 7.512 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 9.318870256654918]