Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001705/0.001706, allocations: 191.9 kB / 16.14 MB, free: 6.719 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.648 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.434/2.434, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8712, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01343/0.8846, allocations: 14.69 MB / 0.9633 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.9009, allocations: 10.37 MB / 0.9734 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.9034, allocations: 57.72 kB / 0.9735 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.9081, allocations: 1.571 MB / 0.975 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.9143, allocations: 1.602 MB / 0.9765 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.9166, allocations: 0.6848 MB / 0.9772 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006507/0.9231, allocations: 3.402 MB / 0.9805 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.9258, allocations: 1.372 MB / 0.9819 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.9289, allocations: 1.386 MB / 0.9832 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.9313, allocations: 1.171 MB / 0.9844 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004578/0.9318, allocations: 96 kB / 0.9845 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.9341, allocations: 0.8772 MB / 0.9853 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009073/0.935, allocations: 0.5528 MB / 0.9859 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.9372, allocations: 0.882 MB / 0.9867 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.9435, allocations: 2.737 MB / 0.9894 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9435, allocations: 4 kB / 0.9894 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9435, allocations: 0 / 0.9894 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001054/0.9436, allocations: 0 / 0.9894 GB, free: 8.555 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005944/0.9496, allocations: 2.174 MB / 0.9915 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9496, allocations: 8.031 kB / 0.9915 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.9615, allocations: 2.108 MB / 0.9936 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.9647, allocations: 1.21 MB / 0.9948 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.9648, allocations: 94.67 kB / 0.9949 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.9654, allocations: 116.1 kB / 0.995 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006882/0.9723, allocations: 2.67 MB / 0.9976 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.556e-05/0.9724, allocations: 7.938 kB / 0.9976 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/0.9726, allocations: 55.98 kB / 0.9976 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000666/0.9733, allocations: 194.1 kB / 0.9978 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007908/0.9812, allocations: 2.791 MB / 1.001 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.9985, allocations: 10.51 MB / 1.011 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006551/1.005, allocations: 2.336 MB / 1.013 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/1.008, allocations: 1.276 MB / 1.014 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.008, allocations: 13 kB / 1.014 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/1.009, allocations: 43.55 kB / 1.014 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 3.136e-06/1.009, allocations: 4 kB / 1.014 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.06125/1.07, allocations: 16.48 MB / 1.03 GB, free: 13.42 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.07, allocations: 68.72 kB / 1.031 GB, free: 13.34 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/1.072, allocations: 1.172 MB / 1.032 GB, free: 12.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.072, allocations: 53.7 kB / 1.032 GB, free: 12.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/1.073, allocations: 0.7436 MB / 1.032 GB, free: 11.35 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006205/1.073, allocations: 0.516 MB / 1.033 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000661/1.074, allocations: 287.4 kB / 1.033 GB, free: 10.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.074, allocations: 305.1 kB / 1.034 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/1.078, allocations: 1.51 MB / 1.035 GB, free: 8.723 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/1.081, allocations: 1.776 MB / 1.037 GB, free: 6.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007288/1.089, allocations: 3.373 MB / 1.04 GB, free: 3.379 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.089, allocations: 4 kB / 1.04 GB, free: 3.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01375/1.103, allocations: 5.276 MB / 1.045 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/1.103, allocations: 10.44 kB / 1.045 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/1.103, allocations: 11.94 kB / 1.045 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/1.11, allocations: 1.875 MB / 1.047 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.112, allocations: 423.2 kB / 1.047 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/1.142, allocations: 22.19 MB / 1.069 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.144, allocations: 307.5 kB / 1.069 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.145, allocations: 63.97 kB / 1.069 GB, free: 4.102 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001144/1.146, allocations: 465.6 kB / 1.07 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006825/1.147, allocations: 173.9 kB / 1.07 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.16, allocations: 5.316 MB / 1.075 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.161, allocations: 12 kB / 1.075 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-05/1.161, allocations: 23.98 kB / 1.075 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.161, allocations: 3.984 kB / 1.075 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/1.178, allocations: 7.433 MB / 1.083 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.178, allocations: 4 kB / 1.083 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.18, allocations: 355.7 kB / 1.083 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006256/1.186, allocations: 1.706 MB / 1.085 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.186, allocations: 47.91 kB / 1.085 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0298/1.216, allocations: 21.34 MB / 1.105 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.216, allocations: 7.938 kB / 1.105 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.229, allocations: 4.885 MB / 1.11 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.231, allocations: 490.8 kB / 1.111 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007316/1.231, allocations: 35.98 kB / 1.111 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.234, allocations: 319.6 kB / 1.111 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/1.234, allocations: 156.9 kB / 1.111 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.235, allocations: 55.97 kB / 1.111 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001418/1.236, allocations: 0.7899 MB / 1.112 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.236, allocations: 0 / 1.112 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002787/1.239, allocations: 0.6562 MB / 1.113 GB, free: 6.504 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004181/1.239, allocations: 139.1 kB / 1.113 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.251, allocations: 5.132 MB / 1.118 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.251, allocations: 0 / 1.118 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007491/1.258, allocations: 3.355 MB / 1.121 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.262, allocations: 0.5273 MB / 1.122 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.274, allocations: 4.993 MB / 1.126 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.276, allocations: 1.564 MB / 1.128 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002113/1.278, allocations: 386.4 kB / 1.128 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.279, allocations: 111.4 kB / 1.128 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of SimCode: time 2.114e-06/1.279, allocations: 0 / 1.128 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of Templates: time 0.0777/1.356, allocations: 43.32 MB / 1.171 GB, free: 11.14 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches