Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7103 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6775, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006448/0.684, allocations: 4.894 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004292/0.6883, allocations: 2.494 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.6887, allocations: 23.81 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.6899, allocations: 401.9 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.6909, allocations: 441.6 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.6919, allocations: 407 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.6929, allocations: 0.9251 MB / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006106/0.6935, allocations: 350.5 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.694, allocations: 338.7 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.6944, allocations: 346.5 kB / 1.028 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.6945, allocations: 40 kB / 1.028 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.6952, allocations: 399.1 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.6954, allocations: 191.4 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.6958, allocations: 322.2 kB / 1.029 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.6968, allocations: 0.8701 MB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6968, allocations: 4 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6968, allocations: 4 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6968, allocations: 4 kB / 1.029 GB, free: 6.09 MB / 0.7794 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.001382/0.6982, allocations: 0.9423 MB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.6982, allocations: 15.98 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.6994, allocations: 211.7 kB / 1.031 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.7001, allocations: 498.3 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.7002, allocations: 37.36 kB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.7003, allocations: 44.36 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.7015, allocations: 0.8448 MB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.7015, allocations: 7.938 kB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.7016, allocations: 20 kB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.7017, allocations: 64.95 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.7025, allocations: 0.5695 MB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.7075, allocations: 5.658 MB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.7082, allocations: 467.3 kB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.7085, allocations: 233.1 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.7086, allocations: 7.984 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7086, allocations: 34.56 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.7086, allocations: 0 / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002807/0.7114, allocations: 1.5 MB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.7115, allocations: 55.69 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.7121, allocations: 0.5067 MB / 1.041 GB, free: 9.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.7122, allocations: 29.7 kB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.7124, allocations: 350.8 kB / 1.041 GB, free: 9.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.7125, allocations: 118.4 kB / 1.041 GB, free: 9.133 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.7127, allocations: 114.2 kB / 1.041 GB, free: 9.016 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7129, allocations: 366.8 kB / 1.042 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.7132, allocations: 197.2 kB / 1.042 GB, free: 8.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.7136, allocations: 443.3 kB / 1.042 GB, free: 7.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.7144, allocations: 0.6954 MB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7144, allocations: 4 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001224/0.7156, allocations: 0.8049 MB / 1.044 GB, free: 6.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.7157, allocations: 10.19 kB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7157, allocations: 12.84 kB / 1.044 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.7162, allocations: 160.1 kB / 1.044 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.7166, allocations: 127.7 kB / 1.044 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.7199, allocations: 4.336 MB / 1.048 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.7203, allocations: 31.97 kB / 1.048 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.7204, allocations: 28 kB / 1.048 GB, free: 1.133 MB / 0.795 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.0002635/0.7207, allocations: 222 kB / 1.049 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.7208, allocations: 67.31 kB / 1.049 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009758/0.7217, allocations: 0.5933 MB / 1.049 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7217, allocations: 4 kB / 1.049 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7218, allocations: 4 kB / 1.049 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7218, allocations: 0 / 1.049 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.7235, allocations: 1.271 MB / 1.05 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7235, allocations: 0 / 1.05 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.7238, allocations: 59.89 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.7242, allocations: 144.3 kB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.7242, allocations: 11.94 kB / 1.051 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/0.7273, allocations: 4.325 MB / 1.055 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7273, allocations: 7.938 kB / 1.055 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.7284, allocations: 0.7115 MB / 1.056 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.7286, allocations: 164.3 kB / 1.056 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.7286, allocations: 11.98 kB / 1.056 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.7289, allocations: 19.98 kB / 1.056 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.729, allocations: 43.81 kB / 1.056 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.729, allocations: 15.94 kB / 1.056 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004253/0.7294, allocations: 338.8 kB / 1.056 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7294, allocations: 0 / 1.056 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006845/0.7301, allocations: 140 kB / 1.056 GB, free: 8.379 MB / 0.8106 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.0002294/0.7304, allocations: 115.2 kB / 1.056 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.7322, allocations: 1.072 MB / 1.057 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7322, allocations: 3.938 kB / 1.057 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.7332, allocations: 0.7433 MB / 1.058 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.7346, allocations: 209.9 kB / 1.058 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.7369, allocations: 1.056 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.7375, allocations: 0.9098 MB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.738, allocations: 113.3 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.7381, allocations: 43.42 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of SimCode: time 1.192e-06/0.7381, allocations: 4 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of Templates: time 0.0147/0.7528, allocations: 7.607 MB / 1.068 GB, free: 12.36 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches