Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OnePhase.Loads.Examples.TestImpedance,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008154, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007098/0.007098, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.933/2.933, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 12.34 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004878/0.3226, allocations: 4.478 MB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.3266, allocations: 2.448 MB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.327, allocations: 19.81 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3273, allocations: 87.22 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.3284, allocations: 414 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.3293, allocations: 335.4 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3305, allocations: 1.132 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.3313, allocations: 463.7 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.3317, allocations: 290.6 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.3322, allocations: 338.5 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.3322, allocations: 20 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.333, allocations: 0.4911 MB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3332, allocations: 159.5 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.3335, allocations: 312 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008191/0.3343, allocations: 0.8915 MB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3344, allocations: 0 / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3344, allocations: 0 / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3344, allocations: 3.938 kB / 1.07 GB, free: 9.527 MB / 0.8262 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.001168/0.3356, allocations: 0.822 MB / 1.071 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3356, allocations: 8.031 kB / 1.071 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3368, allocations: 207.7 kB / 1.071 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.3374, allocations: 486.4 kB / 1.072 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3375, allocations: 41.34 kB / 1.072 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.3376, allocations: 44.36 kB / 1.072 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/0.3386, allocations: 0.8448 MB / 1.073 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3386, allocations: 11.94 kB / 1.073 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.3386, allocations: 20 kB / 1.073 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/0.3387, allocations: 68.89 kB / 1.073 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.3395, allocations: 0.5617 MB / 1.073 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.3434, allocations: 5.65 MB / 1.079 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.344, allocations: 458.2 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.3444, allocations: 224.7 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.3444, allocations: 4.531 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3444, allocations: 34.56 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/0.3444, allocations: 4 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002386/0.3468, allocations: 1.508 MB / 1.081 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3469, allocations: 55.69 kB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.3474, allocations: 0.495 MB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3474, allocations: 29.7 kB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3476, allocations: 350.8 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.3477, allocations: 126.3 kB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.3478, allocations: 49.7 kB / 1.082 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3479, allocations: 366.8 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3482, allocations: 193.2 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.3486, allocations: 447.3 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.3493, allocations: 0.6954 MB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3493, allocations: 3.938 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001216/0.3506, allocations: 0.8056 MB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3506, allocations: 12.19 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3506, allocations: 8 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.3511, allocations: 156 kB / 1.085 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.3515, allocations: 123.8 kB / 1.085 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.3545, allocations: 4.04 MB / 1.089 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.3549, allocations: 31.98 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.3549, allocations: 35.97 kB / 1.089 GB, free: 5.109 MB / 0.8419 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.0002934/0.3552, allocations: 215.7 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.3553, allocations: 59.25 kB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3564, allocations: 0.5969 MB / 1.09 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3564, allocations: 11.94 kB / 1.09 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3564, allocations: 3.938 kB / 1.09 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3564, allocations: 7.922 kB / 1.09 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.3581, allocations: 1.258 MB / 1.091 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3581, allocations: 4 kB / 1.091 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3584, allocations: 47.95 kB / 1.091 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.3588, allocations: 148.3 kB / 1.091 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3588, allocations: 8 kB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.3616, allocations: 4.028 MB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3617, allocations: 12.19 kB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.3626, allocations: 0.6962 MB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.3628, allocations: 172.2 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.3629, allocations: 11.94 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3632, allocations: 23.97 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.3632, allocations: 31.97 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3633, allocations: 12 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000326/0.3636, allocations: 330.8 kB / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3636, allocations: 0 / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000611/0.3642, allocations: 140 kB / 1.096 GB, free: 12.71 MB / 0.8575 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.0001585/0.3644, allocations: 111.2 kB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.3657, allocations: 1.044 MB / 1.097 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3657, allocations: 0 / 1.097 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.3665, allocations: 0.7347 MB / 1.098 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3676, allocations: 184.5 kB / 1.098 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3691, allocations: 1.269 MB / 1.1 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3696, allocations: 0.898 MB / 1.1 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.3699, allocations: 121.3 kB / 1.101 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.37, allocations: 39.44 kB / 1.101 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of SimCode: time 2.555e-06/0.37, allocations: 0 / 1.101 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.01278/0.3828, allocations: 7.275 MB / 1.108 GB, free: 0.875 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches