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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001332/0.001332, allocations: 194.8 kB / 16.14 MB, free: 6.691 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.442/2.442, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.896, allocations: 140.3 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01787/0.9139, allocations: 15.92 MB / 0.9645 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009355/0.9233, allocations: 4.834 MB / 0.9692 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.9254, allocations: 57.69 kB / 0.9692 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.9285, allocations: 0.9574 MB / 0.9702 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.9322, allocations: 0.6944 MB / 0.9709 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.936, allocations: 0.8474 MB / 0.9717 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008501/0.9445, allocations: 5.257 MB / 0.9768 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009609/0.9541, allocations: 5.431 MB / 0.9821 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.9571, allocations: 1.335 MB / 0.9834 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.9607, allocations: 1.815 MB / 0.9852 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009932/0.9617, allocations: 239.9 kB / 0.9854 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.9643, allocations: 0.8268 MB / 0.9862 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.9666, allocations: 1.224 MB / 0.9874 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.9698, allocations: 1.334 MB / 0.9887 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.9779, allocations: 5.064 MB / 0.9937 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9779, allocations: 0 / 0.9937 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9779, allocations: 0 / 0.9937 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002049/0.9781, allocations: 4 kB / 0.9937 GB, free: 4.148 MB / 0.7481 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.008991/0.9871, allocations: 2.647 MB / 0.9963 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.9872, allocations: 12.03 kB / 0.9963 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.9916, allocations: 0.8251 MB / 0.9971 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.9945, allocations: 1.498 MB / 0.9985 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.9946, allocations: 185 kB / 0.9987 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.995, allocations: 236.3 kB / 0.9989 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006766/1.002, allocations: 4.159 MB / 1.003 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/1.002, allocations: 3.906 kB / 1.003 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.002, allocations: 104 kB / 1.003 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/1.002, allocations: 176.5 kB / 1.003 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/1.008, allocations: 3.628 MB / 1.007 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/1.026, allocations: 16.54 MB / 1.023 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/1.029, allocations: 2.288 MB / 1.025 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/1.03, allocations: 0.5819 MB / 1.026 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/1.03, allocations: 97.66 kB / 1.026 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.03, allocations: 43.11 kB / 1.026 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.345e-06/1.03, allocations: 7.938 kB / 1.026 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005586/1.036, allocations: 3.424 MB / 1.029 GB, free: 13.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.036, allocations: 115.4 kB / 1.029 GB, free: 13.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.038, allocations: 1.014 MB / 1.03 GB, free: 12.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/1.038, allocations: 41.7 kB / 1.03 GB, free: 12.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/1.038, allocations: 1.111 MB / 1.031 GB, free: 11.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.039, allocations: 268.1 kB / 1.032 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/1.039, allocations: 279.2 kB / 1.032 GB, free: 10.76 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.039, allocations: 414.7 kB / 1.032 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/1.04, allocations: 0.6128 MB / 1.033 GB, free: 9.734 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/1.042, allocations: 1.193 MB / 1.034 GB, free: 8.281 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/1.044, allocations: 1.868 MB / 1.036 GB, free: 6.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.044, allocations: 4 kB / 1.036 GB, free: 6.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003183/1.047, allocations: 2.011 MB / 1.038 GB, free: 4.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.047, allocations: 16 kB / 1.038 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.047, allocations: 16 kB / 1.038 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/1.048, allocations: 163.8 kB / 1.038 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.049, allocations: 351.4 kB / 1.038 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.194e-05/1.049, allocations: 39.86 kB / 1.039 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/1.05, allocations: 135.7 kB / 1.039 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.05, allocations: 71.98 kB / 1.039 GB, free: 3.328 MB / 0.795 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.001423/1.052, allocations: 0.9693 MB / 1.04 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.052, allocations: 110.6 kB / 1.04 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/1.054, allocations: 1.226 MB / 1.041 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.054, allocations: 15.94 kB / 1.041 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.054, allocations: 4 kB / 1.041 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.054, allocations: 7.984 kB / 1.041 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/1.061, allocations: 3.807 MB / 1.045 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.061, allocations: 0 / 1.045 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/1.061, allocations: 159.8 kB / 1.045 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/1.062, allocations: 143.3 kB / 1.045 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/1.062, allocations: 16 kB / 1.045 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.062, allocations: 12.12 kB / 1.045 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.062, allocations: 4 kB / 1.045 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/1.064, allocations: 1.464 MB / 1.046 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/1.064, allocations: 267.8 kB / 1.047 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.064, allocations: 20 kB / 1.047 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.065, allocations: 75.8 kB / 1.047 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.065, allocations: 64.36 kB / 1.047 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/1.065, allocations: 23.94 kB / 1.047 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008756/1.066, allocations: 0.6914 MB / 1.048 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.066, allocations: 4 kB / 1.048 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001376/1.067, allocations: 392 kB / 1.048 GB, free: 9.586 MB / 0.8106 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.0002106/1.068, allocations: 123.7 kB / 1.048 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.07, allocations: 1.709 MB / 1.05 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.07, allocations: 5.938 kB / 1.05 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/1.071, allocations: 0.8586 MB / 1.051 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.072, allocations: 261.3 kB / 1.051 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/1.079, allocations: 4.815 MB / 1.056 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.081, allocations: 1.924 MB / 1.057 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001177/1.082, allocations: 445.4 kB / 1.058 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/1.082, allocations: 83.42 kB / 1.058 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/1.082, allocations: 0 / 1.058 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.02492/1.107, allocations: 12.84 MB / 1.07 GB, free: 2.387 MB / 0.8262 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/jenkins/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