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.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001686/0.001686, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.651/2.651, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8972, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005831/0.9031, allocations: 4.92 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.9068, allocations: 2.475 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.9073, allocations: 27.75 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9084, allocations: 370.4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.9094, allocations: 410 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.9103, allocations: 367 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.9114, allocations: 0.9212 MB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.912, allocations: 402.5 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.9125, allocations: 342.6 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.9131, allocations: 354.4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.9133, allocations: 43.98 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.914, allocations: 399.1 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.9142, allocations: 191.3 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.9146, allocations: 322.2 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.9156, allocations: 0.9091 MB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9156, allocations: 0 / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9156, allocations: 4 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.9157, allocations: 0 / 1.029 GB, free: 6.188 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.001578/0.9172, allocations: 0.9462 MB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.9173, allocations: 19.98 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.9186, allocations: 203.7 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.9193, allocations: 0.4943 MB / 1.03 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.9194, allocations: 33.36 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.9194, allocations: 44.36 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.9205, allocations: 0.8487 MB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.9206, allocations: 7.938 kB / 1.031 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.9206, allocations: 20 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.814e-05/0.9207, allocations: 68.95 kB / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.9216, allocations: 0.5695 MB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.926, allocations: 5.65 MB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.9266, allocations: 458.6 kB / 1.038 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.927, allocations: 229.3 kB / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.927, allocations: 3.984 kB / 1.038 GB, free: 11.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.927, allocations: 42.55 kB / 1.038 GB, free: 11.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.865e-06/0.927, allocations: 0 / 1.038 GB, free: 11.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002581/0.9296, allocations: 1.496 MB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.9297, allocations: 59.69 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.9302, allocations: 0.5028 MB / 1.04 GB, free: 9.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.9302, allocations: 29.7 kB / 1.04 GB, free: 9.699 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.9305, allocations: 362.8 kB / 1.041 GB, free: 9.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.9306, allocations: 122.3 kB / 1.041 GB, free: 9.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.9308, allocations: 106.2 kB / 1.041 GB, free: 9.109 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9309, allocations: 370.8 kB / 1.041 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.9312, allocations: 197.2 kB / 1.041 GB, free: 8.543 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.9316, allocations: 451.3 kB / 1.042 GB, free: 7.988 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.9324, allocations: 0.6837 MB / 1.043 GB, free: 7.188 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9324, allocations: 4 kB / 1.043 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001224/0.9337, allocations: 0.8127 MB / 1.043 GB, free: 6.348 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.9337, allocations: 8 kB / 1.043 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.9337, allocations: 8.875 kB / 1.043 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.9342, allocations: 152.1 kB / 1.043 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.9347, allocations: 127.7 kB / 1.044 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.9382, allocations: 4.344 MB / 1.048 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.9385, allocations: 35.97 kB / 1.048 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.9386, allocations: 31.94 kB / 1.048 GB, free: 1.215 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.0002597/0.9389, allocations: 214.2 kB / 1.048 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.939, allocations: 67.31 kB / 1.048 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.94, allocations: 0.6011 MB / 1.049 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.94, allocations: 7.984 kB / 1.049 GB, free: 308 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.94, allocations: 4 kB / 1.049 GB, free: 304 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.94, allocations: 3.984 kB / 1.049 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.9418, allocations: 1.262 MB / 1.05 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9419, allocations: 4 kB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.9421, allocations: 51.89 kB / 1.05 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.9425, allocations: 144.4 kB / 1.05 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.9426, allocations: 11.94 kB / 1.05 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.9459, allocations: 4.333 MB / 1.054 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9459, allocations: 4 kB / 1.054 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.947, allocations: 0.7046 MB / 1.055 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.9473, allocations: 172.3 kB / 1.055 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.9474, allocations: 8 kB / 1.055 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.9477, allocations: 19.97 kB / 1.055 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.9478, allocations: 43.84 kB / 1.055 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.9478, allocations: 8 kB / 1.055 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003701/0.9482, allocations: 338.8 kB / 1.056 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9482, allocations: 0 / 1.056 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006743/0.9489, allocations: 140 kB / 1.056 GB, free: 8.473 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.0001566/0.949, allocations: 115.2 kB / 1.056 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.9506, allocations: 1.072 MB / 1.057 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9506, allocations: 4 kB / 1.057 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/0.9515, allocations: 0.7357 MB / 1.058 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.9525, allocations: 211.4 kB / 1.058 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.9543, allocations: 1.28 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.9548, allocations: 0.9098 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003557/0.9552, allocations: 117.3 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.9553, allocations: 43.38 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.9553, allocations: 4 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of Templates: time 0.01491/0.9702, allocations: 7.666 MB / 1.068 GB, free: 12.17 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