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.001466/0.001466, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001602/0.001602, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 14.98 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.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.55 kB / 0.814 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01922/0.3611, allocations: 16.03 MB / 0.9668 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008379/0.3695, allocations: 4.816 MB / 0.9715 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.3707, allocations: 63.69 kB / 0.9715 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.3735, allocations: 1.042 MB / 0.9726 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.3758, allocations: 0.7425 MB / 0.9733 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.3784, allocations: 0.9194 MB / 0.9742 GB, free: 396 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.3827, allocations: 3.614 MB / 0.9777 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005431/0.3881, allocations: 4.769 MB / 0.9824 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.3911, allocations: 1.585 MB / 0.9839 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.3937, allocations: 1.784 MB / 0.9857 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004706/0.3942, allocations: 336 kB / 0.986 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3958, allocations: 0.8036 MB / 0.9868 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3973, allocations: 1.326 MB / 0.9881 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.399, allocations: 1.455 MB / 0.9895 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.4043, allocations: 5.134 MB / 0.9945 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4044, allocations: 0 / 0.9945 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4044, allocations: 7.938 kB / 0.9945 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001297/0.4045, allocations: 0 / 0.9945 GB, free: 11.47 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.005578/0.4101, allocations: 2.651 MB / 0.9971 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4102, allocations: 8.031 kB / 0.9971 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.414, allocations: 0.8251 MB / 0.9979 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.418, allocations: 1.568 MB / 0.9994 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.4181, allocations: 181.1 kB / 0.9996 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.4187, allocations: 236.3 kB / 0.9998 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.4261, allocations: 4.165 MB / 1.004 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.4261, allocations: 7.938 kB / 1.004 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.4264, allocations: 99.97 kB / 1.004 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.4266, allocations: 168.5 kB / 1.004 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.4327, allocations: 3.636 MB / 1.008 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.4557, allocations: 16.4 MB / 1.024 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.4596, allocations: 2.3 MB / 1.026 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/0.4606, allocations: 0.5707 MB / 1.027 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.4608, allocations: 105.6 kB / 1.027 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.4609, allocations: 43.12 kB / 1.027 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 4.027e-06/0.4609, allocations: 0 / 1.027 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.006548/0.4674, allocations: 3.424 MB / 1.03 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.4675, allocations: 115.5 kB / 1.03 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.4692, allocations: 1.018 MB / 1.031 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.4693, allocations: 41.7 kB / 1.031 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000779/0.47, allocations: 1.099 MB / 1.032 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4703, allocations: 272.2 kB / 1.032 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.4707, allocations: 279.2 kB / 1.033 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.4709, allocations: 418.7 kB / 1.033 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.472, allocations: 0.6167 MB / 1.034 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4737, allocations: 1.185 MB / 1.035 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.4761, allocations: 1.868 MB / 1.037 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.4761, allocations: 4 kB / 1.037 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003433/0.4796, allocations: 2.019 MB / 1.039 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.4796, allocations: 12 kB / 1.039 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.4797, allocations: 24.03 kB / 1.039 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.4801, allocations: 159.3 kB / 1.039 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.4813, allocations: 343.4 kB / 1.039 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.025e-05/0.4813, allocations: 39.86 kB / 1.039 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4824, allocations: 131.6 kB / 1.039 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4826, allocations: 68 kB / 1.039 GB, free: 10.71 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.001593/0.4842, allocations: 0.9732 MB / 1.04 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.4844, allocations: 114.6 kB / 1.041 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4865, allocations: 1.237 MB / 1.042 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.4865, allocations: 11.94 kB / 1.042 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4865, allocations: 0 / 1.042 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4866, allocations: 12.06 kB / 1.042 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.4927, allocations: 3.79 MB / 1.045 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4927, allocations: 0 / 1.045 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.4933, allocations: 160 kB / 1.046 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.4937, allocations: 139.3 kB / 1.046 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.4937, allocations: 20 kB / 1.046 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4937, allocations: 11.88 kB / 1.046 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4937, allocations: 4 kB / 1.046 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.4959, allocations: 1.469 MB / 1.047 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.4965, allocations: 267.8 kB / 1.047 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4966, allocations: 19.91 kB / 1.047 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.4972, allocations: 63.91 kB / 1.048 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4973, allocations: 60.42 kB / 1.048 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.4974, allocations: 27.94 kB / 1.048 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009602/0.4983, allocations: 0.6953 MB / 1.048 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4984, allocations: 0 / 1.048 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001459/0.4998, allocations: 388 kB / 1.049 GB, free: 0.9961 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.000211/0.5, allocations: 135 kB / 1.049 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.5024, allocations: 1.719 MB / 1.05 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5024, allocations: 4.125 kB / 1.05 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.5034, allocations: 0.8658 MB / 1.051 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5048, allocations: 262 kB / 1.052 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/0.5117, allocations: 3.774 MB / 1.055 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.5137, allocations: 1.916 MB / 1.057 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001144/0.5149, allocations: 449.6 kB / 1.058 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.5151, allocations: 83.42 kB / 1.058 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of SimCode: time 1.532e-06/0.5151, allocations: 0 / 1.058 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.02671/0.5419, allocations: 13.27 MB / 1.071 GB, free: 10.39 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 cvode -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