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.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.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.001728/0.001728, allocations: 106.7 kB / 16.27 MB, free: 5.969 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.002869/0.00287, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.19 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.297/2.297, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 65.92 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3171, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01998/0.3371, allocations: 16.02 MB / 0.9659 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009585/0.3467, allocations: 4.817 MB / 0.9706 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.3486, allocations: 67.62 kB / 0.9707 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.3518, allocations: 1.046 MB / 0.9717 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.3544, allocations: 0.7425 MB / 0.9724 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.3572, allocations: 0.9191 MB / 0.9733 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004287/0.3615, allocations: 3.614 MB / 0.9769 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006993/0.3685, allocations: 4.808 MB / 0.9816 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.3715, allocations: 1.57 MB / 0.9831 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.3749, allocations: 1.776 MB / 0.9848 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.376, allocations: 340 kB / 0.9851 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3786, allocations: 0.7997 MB / 0.9859 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.381, allocations: 1.322 MB / 0.9872 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.3842, allocations: 1.459 MB / 0.9886 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.391, allocations: 5.095 MB / 0.9936 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3911, allocations: 0 / 0.9936 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3911, allocations: 0 / 0.9936 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002095/0.3913, allocations: 0 / 0.9936 GB, free: 12.27 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.008778/0.4001, allocations: 2.654 MB / 0.9962 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4001, allocations: 11.97 kB / 0.9962 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.405, allocations: 0.8329 MB / 0.997 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.4086, allocations: 1.494 MB / 0.9985 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.4088, allocations: 181.1 kB / 0.9987 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009648/0.4098, allocations: 236.2 kB / 0.9989 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.4203, allocations: 4.161 MB / 1.003 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/0.4204, allocations: 3.938 kB / 1.003 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006965/0.4211, allocations: 104 kB / 1.003 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002413/0.4214, allocations: 168.5 kB / 1.003 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007784/0.4292, allocations: 3.632 MB / 1.007 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.4524, allocations: 16.54 MB / 1.023 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.4561, allocations: 2.292 MB / 1.025 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.4571, allocations: 0.5767 MB / 1.026 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.4573, allocations: 105.6 kB / 1.026 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4573, allocations: 39.12 kB / 1.026 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 5.34e-06/0.4573, allocations: 4 kB / 1.026 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.006825/0.4642, allocations: 3.428 MB / 1.029 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.4643, allocations: 115.5 kB / 1.029 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.4659, allocations: 1.01 MB / 1.03 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.466, allocations: 41.7 kB / 1.03 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/0.4668, allocations: 1.107 MB / 1.031 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.467, allocations: 268.3 kB / 1.032 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.4675, allocations: 279.2 kB / 1.032 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.4677, allocations: 414.7 kB / 1.032 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.4687, allocations: 0.6167 MB / 1.033 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.4701, allocations: 1.185 MB / 1.034 GB, free: 420 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.4725, allocations: 1.876 MB / 1.036 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.4725, allocations: 4 kB / 1.036 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003624/0.4762, allocations: 2.015 MB / 1.038 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.4762, allocations: 16 kB / 1.038 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/0.4763, allocations: 16 kB / 1.038 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/0.4768, allocations: 163.7 kB / 1.038 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4779, allocations: 347.4 kB / 1.038 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.948e-05/0.478, allocations: 43.84 kB / 1.038 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4792, allocations: 127.6 kB / 1.039 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.4794, allocations: 71.98 kB / 1.039 GB, free: 11.44 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.001689/0.481, allocations: 0.9777 MB / 1.04 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.4814, allocations: 114.6 kB / 1.04 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.4836, allocations: 1.226 MB / 1.041 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.4836, allocations: 11.94 kB / 1.041 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.4837, allocations: 4 kB / 1.041 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4837, allocations: 11.92 kB / 1.041 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/0.4918, allocations: 3.8 MB / 1.045 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.4919, allocations: 4.062 kB / 1.045 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4929, allocations: 159.8 kB / 1.045 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.4935, allocations: 135.3 kB / 1.045 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.4936, allocations: 20 kB / 1.045 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/0.4936, allocations: 11.88 kB / 1.045 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4937, allocations: 8 kB / 1.045 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.4971, allocations: 1.464 MB / 1.046 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.4984, allocations: 267.8 kB / 1.047 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005275/0.4989, allocations: 27.89 kB / 1.047 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.5003, allocations: 67.91 kB / 1.047 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.5006, allocations: 60.42 kB / 1.047 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.5007, allocations: 20 kB / 1.047 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002281/0.503, allocations: 0.6914 MB / 1.048 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5031, allocations: 0 / 1.048 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003327/0.5064, allocations: 392.1 kB / 1.048 GB, free: 1.719 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.000442/0.5069, allocations: 139 kB / 1.048 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005459/0.5123, allocations: 2.011 MB / 1.05 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.5124, allocations: 4 kB / 1.05 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.514, allocations: 0.8595 MB / 1.051 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.5169, allocations: 271.2 kB / 1.051 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.5303, allocations: 4.189 MB / 1.055 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/0.5347, allocations: 1.959 MB / 1.057 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/0.5354, allocations: 99.42 kB / 1.057 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of SimCode: time 2.054e-06/0.5355, allocations: 4 kB / 1.057 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of Templates: time 0.6181/1.154, allocations: 73.27 MB / 1.129 GB, free: 106.2 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 -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