Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005394/0.005394, allocations: 100.7 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 185.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.88 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.121, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006814/1.128, allocations: 4.899 MB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004918/1.133, allocations: 2.491 MB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006172/1.134, allocations: 24.97 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/1.135, allocations: 406.7 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/1.137, allocations: 465.1 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/1.138, allocations: 403.7 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001895/1.14, allocations: 0.9317 MB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/1.141, allocations: 346 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/1.142, allocations: 346.6 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/1.142, allocations: 348.1 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/1.143, allocations: 43.03 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.144, allocations: 400.4 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/1.144, allocations: 185.6 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/1.144, allocations: 321.8 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/1.146, allocations: 0.8938 MB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.146, allocations: 1.062 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.824e-06/1.146, allocations: 0 / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.938e-05/1.146, allocations: 0.7031 kB / 1.1 GB, free: 14.12 MB / 0.8731 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.001932/1.148, allocations: 0.9744 MB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.148, allocations: 9.5 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/1.15, allocations: 202.4 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/1.151, allocations: 0.5579 MB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/1.151, allocations: 30.91 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/1.151, allocations: 46.23 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.152, allocations: 0.8478 MB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/1.152, allocations: 8.328 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/1.152, allocations: 24.11 kB / 1.103 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/1.153, allocations: 66.28 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.154, allocations: 0.5688 MB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/1.159, allocations: 5.645 MB / 1.109 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/1.16, allocations: 462.4 kB / 1.109 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/1.16, allocations: 228.2 kB / 1.109 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/1.16, allocations: 3.562 kB / 1.109 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.16, allocations: 36.36 kB / 1.11 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/1.16, allocations: 0 / 1.11 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002951/1.163, allocations: 1.525 MB / 1.111 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.163, allocations: 55.94 kB / 1.111 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/1.164, allocations: 0.501 MB / 1.112 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/1.164, allocations: 35.17 kB / 1.112 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/1.164, allocations: 370.9 kB / 1.112 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/1.164, allocations: 122.3 kB / 1.112 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/1.165, allocations: 112.1 kB / 1.112 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.165, allocations: 365.6 kB / 1.113 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/1.165, allocations: 195.6 kB / 1.113 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/1.166, allocations: 447.4 kB / 1.113 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009005/1.167, allocations: 0.6927 MB / 1.114 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.167, allocations: 2.5 kB / 1.114 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001465/1.168, allocations: 0.8129 MB / 1.115 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.168, allocations: 10.19 kB / 1.115 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.168, allocations: 8.219 kB / 1.115 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/1.169, allocations: 160.1 kB / 1.115 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/1.169, allocations: 121.9 kB / 1.115 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/1.173, allocations: 4.338 MB / 1.119 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/1.174, allocations: 33.77 kB / 1.119 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/1.174, allocations: 27.95 kB / 1.119 GB, free: 14.89 MB / 0.8887 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.000349/1.174, allocations: 220.3 kB / 1.119 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.174, allocations: 65.45 kB / 1.119 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.175, allocations: 0.592 MB / 1.12 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.175, allocations: 8.25 kB / 1.12 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.175, allocations: 5.094 kB / 1.12 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.175, allocations: 7.016 kB / 1.12 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.178, allocations: 1.264 MB / 1.121 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.178, allocations: 1.656 kB / 1.121 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/1.178, allocations: 50.28 kB / 1.121 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/1.178, allocations: 143.6 kB / 1.121 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/1.178, allocations: 15.81 kB / 1.121 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/1.182, allocations: 4.333 MB / 1.126 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.182, allocations: 2.188 kB / 1.126 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.183, allocations: 0.7197 MB / 1.126 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/1.184, allocations: 178.7 kB / 1.127 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/1.184, allocations: 8.266 kB / 1.127 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.184, allocations: 25.77 kB / 1.127 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/1.184, allocations: 32.14 kB / 1.127 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/1.184, allocations: 13.09 kB / 1.127 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005312/1.185, allocations: 338.2 kB / 1.127 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.127 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009291/1.186, allocations: 139.9 kB / 1.127 GB, free: 8.562 MB / 0.8887 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.0002057/1.186, allocations: 116.2 kB / 1.127 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00196/1.188, allocations: 1.037 MB / 1.128 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.188, allocations: 1 kB / 1.128 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.189, allocations: 0.7418 MB / 1.129 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.19, allocations: 211.5 kB / 1.129 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/1.192, allocations: 1.051 MB / 1.13 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/1.193, allocations: 0.9086 MB / 1.131 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004256/1.194, allocations: 123.4 kB / 1.131 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.194, allocations: 39.62 kB / 1.131 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of SimCode: time 1.863e-06/1.194, allocations: 0 / 1.131 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of Templates: time 0.02202/1.216, allocations: 7.704 MB / 1.139 GB, free: 5.18 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches