Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001203, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001206/0.001206, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.36 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2917, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02028/0.312, allocations: 16.03 MB / 0.9668 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008053/0.3201, allocations: 4.813 MB / 0.9715 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3214, allocations: 67.69 kB / 0.9715 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.3241, allocations: 1.049 MB / 0.9726 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.326, allocations: 0.7424 MB / 0.9733 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.3283, allocations: 0.9191 MB / 0.9742 GB, free: 372 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003692/0.332, allocations: 3.614 MB / 0.9777 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.3369, allocations: 4.757 MB / 0.9824 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.3391, allocations: 1.585 MB / 0.9839 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.3415, allocations: 1.78 MB / 0.9857 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.3419, allocations: 340 kB / 0.986 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.3433, allocations: 0.7997 MB / 0.9868 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.3445, allocations: 1.325 MB / 0.9881 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.346, allocations: 1.459 MB / 0.9895 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.3505, allocations: 5.13 MB / 0.9945 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.619e-06/0.3506, allocations: 3.984 kB / 0.9945 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3506, allocations: 0 / 0.9945 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001115/0.3507, allocations: 0 / 0.9945 GB, free: 11.46 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005186/0.3559, allocations: 2.65 MB / 0.9971 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3559, allocations: 12.03 kB / 0.9971 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.3598, allocations: 0.8407 MB / 0.9979 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.3633, allocations: 1.564 MB / 0.9994 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.3635, allocations: 177.1 kB / 0.9996 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.3639, allocations: 232.3 kB / 0.9998 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/0.3704, allocations: 4.173 MB / 1.004 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.3705, allocations: 3.938 kB / 1.004 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.3707, allocations: 99.98 kB / 1.004 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.3709, allocations: 168.5 kB / 1.004 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005428/0.3763, allocations: 3.632 MB / 1.008 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.3931, allocations: 16.41 MB / 1.024 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.3963, allocations: 2.296 MB / 1.026 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.3971, allocations: 0.5785 MB / 1.027 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3973, allocations: 89.67 kB / 1.027 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3973, allocations: 55.05 kB / 1.027 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.3973, allocations: 4 kB / 1.027 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.005139/0.4025, allocations: 3.424 MB / 1.03 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.4026, allocations: 111.5 kB / 1.03 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4038, allocations: 1.01 MB / 1.031 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.4039, allocations: 45.64 kB / 1.031 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4045, allocations: 1.107 MB / 1.032 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4047, allocations: 272.2 kB / 1.033 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.405, allocations: 279.2 kB / 1.033 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4052, allocations: 410.7 kB / 1.033 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.4061, allocations: 0.6167 MB / 1.034 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.4073, allocations: 1.189 MB / 1.035 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.4095, allocations: 1.872 MB / 1.037 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4095, allocations: 4 kB / 1.037 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003056/0.4126, allocations: 2.014 MB / 1.039 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.4126, allocations: 16 kB / 1.039 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/0.4127, allocations: 23.98 kB / 1.039 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.4131, allocations: 160 kB / 1.039 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.4142, allocations: 347.4 kB / 1.039 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.926e-05/0.4143, allocations: 35.86 kB / 1.039 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.4152, allocations: 131.6 kB / 1.039 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.4153, allocations: 72 kB / 1.039 GB, free: 10.69 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0013/0.4166, allocations: 0.9732 MB / 1.04 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.4168, allocations: 110.6 kB / 1.041 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.4188, allocations: 1.222 MB / 1.042 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4188, allocations: 15.94 kB / 1.042 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4188, allocations: 3.984 kB / 1.042 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4189, allocations: 7.984 kB / 1.042 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.4245, allocations: 3.794 MB / 1.045 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4245, allocations: 7.938 kB / 1.045 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.4252, allocations: 155.8 kB / 1.046 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.4255, allocations: 143.6 kB / 1.046 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.4256, allocations: 16 kB / 1.046 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.4256, allocations: 15.92 kB / 1.046 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4256, allocations: 3.938 kB / 1.046 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.4275, allocations: 1.458 MB / 1.047 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.4281, allocations: 271.8 kB / 1.047 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4282, allocations: 23.89 kB / 1.047 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.4288, allocations: 63.91 kB / 1.048 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.429, allocations: 64.36 kB / 1.048 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.429, allocations: 24 kB / 1.048 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009233/0.4299, allocations: 0.6953 MB / 1.048 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 1.048 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001529/0.4315, allocations: 392 kB / 1.049 GB, free: 0.9727 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002245/0.4317, allocations: 131 kB / 1.049 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.4341, allocations: 1.722 MB / 1.051 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4341, allocations: 0 / 1.051 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.435, allocations: 0.8669 MB / 1.051 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.4364, allocations: 270.6 kB / 1.052 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.4425, allocations: 3.768 MB / 1.055 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.4442, allocations: 1.916 MB / 1.057 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001064/0.4453, allocations: 449.4 kB / 1.058 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.4455, allocations: 79.44 kB / 1.058 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/0.4455, allocations: 3.938 kB / 1.058 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.02478/0.4703, allocations: 13.27 MB / 1.071 GB, free: 10.37 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches