Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.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.377/2.377, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7256, allocations: 140.3 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02131/0.747, allocations: 20.28 MB / 0.9694 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.7609, allocations: 7.724 MB / 0.9769 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.7632, allocations: 55.25 kB / 0.977 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.767, allocations: 1.256 MB / 0.9782 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.77, allocations: 0.9444 MB / 0.9791 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.7749, allocations: 1.839 MB / 0.9809 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00643/0.7813, allocations: 6.449 MB / 0.9872 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.7914, allocations: 6.865 MB / 0.9939 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.7942, allocations: 1.554 MB / 0.9954 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.798, allocations: 2.244 MB / 0.9976 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.7993, allocations: 292 kB / 0.9979 GB, free: 492 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.8017, allocations: 0.9711 MB / 0.9989 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.8041, allocations: 1.52 MB / 1 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003235/0.8073, allocations: 1.571 MB / 1.002 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.8127, allocations: 5.297 MB / 1.007 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8128, allocations: 0 / 1.007 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8128, allocations: 0 / 1.007 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001747/0.813, allocations: 4 kB / 1.007 GB, free: 7.094 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007826/0.8208, allocations: 3.044 MB / 1.01 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8209, allocations: 12.03 kB / 1.01 GB, free: 3.977 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.8251, allocations: 0.7506 MB / 1.011 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.8283, allocations: 1.54 MB / 1.012 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.8285, allocations: 222.1 kB / 1.012 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008935/0.8294, allocations: 288.3 kB / 1.013 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.8411, allocations: 5.086 MB / 1.018 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.8412, allocations: 11.94 kB / 1.018 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007502/0.842, allocations: 120 kB / 1.018 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/0.8423, allocations: 208.6 kB / 1.018 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008376/0.8507, allocations: 4.22 MB / 1.022 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.8797, allocations: 23.08 MB / 1.045 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.8827, allocations: 1.739 MB / 1.046 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.8846, allocations: 1.137 MB / 1.048 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.8849, allocations: 97.75 kB / 1.048 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.8849, allocations: 47.2 kB / 1.048 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 3.457e-06/0.8849, allocations: 0 / 1.048 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87): time 0.006737/0.8917, allocations: 4.012 MB / 1.052 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.8918, allocations: 137.2 kB / 1.052 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.8931, allocations: 0.8681 MB / 1.053 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.8933, allocations: 45.69 kB / 1.053 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.894, allocations: 1.162 MB / 1.054 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.8944, allocations: 315.6 kB / 1.054 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.8949, allocations: 274.6 kB / 1.054 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.8952, allocations: 406.7 kB / 1.055 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.8965, allocations: 0.8179 MB / 1.055 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.8982, allocations: 1.314 MB / 1.057 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/0.9012, allocations: 2.163 MB / 1.059 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.9012, allocations: 8 kB / 1.059 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003796/0.905, allocations: 2.206 MB / 1.061 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.905, allocations: 12 kB / 1.061 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.9051, allocations: 12 kB / 1.061 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.9051, allocations: 20 kB / 1.061 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9069, allocations: 427.9 kB / 1.061 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.957e-05/0.907, allocations: 31.86 kB / 1.062 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.9085, allocations: 215.2 kB / 1.062 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.9086, allocations: 55.98 kB / 1.062 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00269/0.9113, allocations: 1.685 MB / 1.063 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001505/0.9129, allocations: 1.194 MB / 1.065 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002554/0.9154, allocations: 1.906 MB / 1.066 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.295e-05/0.9155, allocations: 7.938 kB / 1.066 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003401/0.9189, allocations: 1.918 MB / 1.068 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.9189, allocations: 12.22 kB / 1.068 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.9189, allocations: 23.94 kB / 1.068 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.919, allocations: 20 kB / 1.068 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.9204, allocations: 363.4 kB / 1.069 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.9204, allocations: 35.86 kB / 1.069 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9218, allocations: 175.3 kB / 1.069 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.9219, allocations: 59.98 kB / 1.069 GB, free: 4.133 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004218/0.9223, allocations: 263.8 kB / 1.069 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.9227, allocations: 106.8 kB / 1.069 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.9257, allocations: 1.854 MB / 1.071 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9257, allocations: 12 kB / 1.071 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.9257, allocations: 0 / 1.071 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.9258, allocations: 7.984 kB / 1.071 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.9395, allocations: 9.584 MB / 1.081 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.9395, allocations: 16.03 kB / 1.081 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.9408, allocations: 311.5 kB / 1.081 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.9409, allocations: 16 kB / 1.081 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.941, allocations: 28 kB / 1.081 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-05/0.941, allocations: 27.86 kB / 1.081 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.941, allocations: 20.06 kB / 1.081 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.9441, allocations: 2.394 MB / 1.083 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.9449, allocations: 379.5 kB / 1.084 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.9452, allocations: 28 kB / 1.084 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9463, allocations: 139.7 kB / 1.084 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.9465, allocations: 103.6 kB / 1.084 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.9466, allocations: 36 kB / 1.084 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001065/0.9477, allocations: 0.6083 MB / 1.085 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9477, allocations: 0 / 1.085 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002882/0.9506, allocations: 0.7616 MB / 1.085 GB, free: 3.02 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.9508, allocations: 146.9 kB / 1.085 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004528/0.9554, allocations: 2.869 MB / 1.088 GB, free: 0 / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.9554, allocations: 1.312 kB / 1.088 GB, free: 0 / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.9568, allocations: 0.9194 MB / 1.089 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9588, allocations: 289.1 kB / 1.089 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.9699, allocations: 6.664 MB / 1.096 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.973, allocations: 2.191 MB / 1.098 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007475/0.9737, allocations: 99.41 kB / 1.098 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of SimCode: time 1.573e-06/0.9738, allocations: 0 / 1.098 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of Templates: time 0.0451/1.019, allocations: 28.07 MB / 1.126 GB, free: 9.641 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches