Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00133/0.00133, allocations: 119 kB / 16.42 MB, free: 6.496 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.00135/0.00135, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9244, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01863/0.9431, allocations: 14.79 MB / 1.182 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9592, allocations: 10.34 MB / 1.192 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.961, allocations: 55.62 kB / 1.192 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004697/0.9658, allocations: 1.696 MB / 1.194 GB, free: 8.895 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.9712, allocations: 1.848 MB / 1.195 GB, free: 7.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.9732, allocations: 0.7546 MB / 1.196 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.9771, allocations: 2.759 MB / 1.199 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.9794, allocations: 1.419 MB / 1.2 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.982, allocations: 1.527 MB / 1.202 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.9842, allocations: 1.16 MB / 1.203 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.9846, allocations: 164 kB / 1.203 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.9867, allocations: 0.7875 MB / 1.204 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000954/0.9876, allocations: 0.6037 MB / 1.204 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.9897, allocations: 0.9561 MB / 1.205 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.994, allocations: 2.765 MB / 1.208 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.994, allocations: 0 / 1.208 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.455e-06/0.994, allocations: 4 kB / 1.208 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001065/0.9941, allocations: 4 kB / 1.208 GB, free: 10.08 MB / 0.9356 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.005201/0.9993, allocations: 2.162 MB / 1.21 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9994, allocations: 8.922 kB / 1.21 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/1.012, allocations: 2.105 MB / 1.212 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/1.016, allocations: 1.307 MB / 1.213 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.016, allocations: 86.69 kB / 1.213 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/1.016, allocations: 120 kB / 1.214 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006996/1.023, allocations: 2.67 MB / 1.216 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/1.024, allocations: 15.88 kB / 1.216 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/1.024, allocations: 55.97 kB / 1.216 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007049/1.024, allocations: 190.1 kB / 1.216 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008363/1.033, allocations: 2.795 MB / 1.219 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/1.049, allocations: 10.46 MB / 1.229 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/1.057, allocations: 2.34 MB / 1.232 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003472/1.06, allocations: 1.28 MB / 1.233 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-05/1.06, allocations: 9 kB / 1.233 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/1.06, allocations: 51.5 kB / 1.233 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 3.827e-06/1.06, allocations: 0 / 1.233 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153): time 0.06456/1.125, allocations: 16.48 MB / 1.249 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/1.125, allocations: 68.72 kB / 1.249 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.127, allocations: 1.176 MB / 1.25 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/1.128, allocations: 53.7 kB / 1.25 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/1.128, allocations: 0.7475 MB / 1.251 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006115/1.129, allocations: 0.512 MB / 1.252 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006361/1.13, allocations: 287.4 kB / 1.252 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.13, allocations: 313.1 kB / 1.252 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.133, allocations: 1.507 MB / 1.254 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/1.137, allocations: 1.784 MB / 1.255 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/1.145, allocations: 3.373 MB / 1.259 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.145, allocations: 0 / 1.259 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01479/1.16, allocations: 5.284 MB / 1.264 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.16, allocations: 8 kB / 1.264 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.16, allocations: 4 kB / 1.264 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00741/1.167, allocations: 1.886 MB / 1.266 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.17, allocations: 411.3 kB / 1.266 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/1.201, allocations: 24.13 MB / 1.29 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/1.204, allocations: 307.5 kB / 1.29 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.205, allocations: 71.95 kB / 1.29 GB, free: 3.594 MB / 1.014 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.001265/1.206, allocations: 461.5 kB / 1.29 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/1.206, allocations: 173.9 kB / 1.291 GB, free: 2.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.221, allocations: 5.327 MB / 1.296 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/1.221, allocations: 11.97 kB / 1.296 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.221, allocations: 0 / 1.296 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.222, allocations: 0.4949 MB / 1.296 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/1.223, allocations: 28.08 kB / 1.296 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.225, allocations: 299.5 kB / 1.297 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/1.226, allocations: 204.9 kB / 1.297 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01679/1.243, allocations: 5.587 MB / 1.302 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01224/1.255, allocations: 5.213 MB / 1.307 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003707/1.259, allocations: 1.661 MB / 1.309 GB, free: 12 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001293/1.26, allocations: 0.786 MB / 1.31 GB, free: 15.23 MB / 1.045 GB Notification: Performance of Backend: time 1.032e-06/1.26, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.271, allocations: 4.225 MB / 1.314 GB, free: 10.89 MB / 1.045 GB Notification: Performance of SimCode: time 0.008845/1.279, allocations: 4.779 MB / 1.319 GB, free: 6.082 MB / 1.045 GB Notification: Performance of Templates: time 0.0788/1.358, allocations: 50.14 MB / 1.368 GB, free: 4.363 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches