Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001376/0.001376, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 63.91 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9654, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009309/0.9747, allocations: 6.733 MB / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005526/0.9803, allocations: 3.051 MB / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/0.981, allocations: 27.81 kB / 1.236 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.9835, allocations: 0.9402 MB / 1.237 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.9849, allocations: 0.5246 MB / 1.237 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.986, allocations: 419 kB / 1.238 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.9874, allocations: 1.224 MB / 1.239 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009871/0.9884, allocations: 0.6656 MB / 1.24 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006445/0.989, allocations: 478.3 kB / 1.24 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006243/0.9896, allocations: 0.5214 MB / 1.241 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.9898, allocations: 68 kB / 1.241 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.9905, allocations: 379.3 kB / 1.241 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.9908, allocations: 311.1 kB / 1.241 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.9912, allocations: 453.7 kB / 1.242 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.9927, allocations: 1.211 MB / 1.243 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9927, allocations: 0 / 1.243 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9927, allocations: 0 / 1.243 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9927, allocations: 3.938 kB / 1.243 GB, free: 12.45 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001905/0.9946, allocations: 1.186 MB / 1.244 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9947, allocations: 8.031 kB / 1.244 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.9962, allocations: 248 kB / 1.244 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/0.9971, allocations: 0.5965 MB / 1.245 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.9971, allocations: 49.67 kB / 1.245 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.9972, allocations: 64.33 kB / 1.245 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9987, allocations: 1.085 MB / 1.246 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.9987, allocations: 7.938 kB / 1.246 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.9988, allocations: 35.98 kB / 1.246 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.9989, allocations: 85.25 kB / 1.246 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1, allocations: 0.7504 MB / 1.247 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/1.005, allocations: 5.875 MB / 1.253 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/1.006, allocations: 0.5554 MB / 1.253 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/1.007, allocations: 329.3 kB / 1.254 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/1.007, allocations: 4.438 kB / 1.254 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.007, allocations: 42.94 kB / 1.254 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/1.007, allocations: 4 kB / 1.254 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.00373/1.011, allocations: 1.995 MB / 1.256 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.011, allocations: 63.84 kB / 1.256 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/1.011, allocations: 0.5548 MB / 1.256 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/1.011, allocations: 33.7 kB / 1.256 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/1.012, allocations: 424 kB / 1.257 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/1.012, allocations: 182.5 kB / 1.257 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.012, allocations: 126.6 kB / 1.257 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.012, allocations: 378.7 kB / 1.257 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/1.013, allocations: 269.9 kB / 1.257 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/1.013, allocations: 497.5 kB / 1.258 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/1.014, allocations: 0.8094 MB / 1.259 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.014, allocations: 0 / 1.259 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001707/1.016, allocations: 1.087 MB / 1.26 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.016, allocations: 11.94 kB / 1.26 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.016, allocations: 8 kB / 1.26 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008075/1.017, allocations: 279.5 kB / 1.26 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/1.017, allocations: 127.8 kB / 1.26 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/1.024, allocations: 7.15 MB / 1.267 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/1.024, allocations: 35.97 kB / 1.267 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/1.024, allocations: 31.94 kB / 1.267 GB, free: 1.949 MB / 0.9825 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003751/1.025, allocations: 249.7 kB / 1.267 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.025, allocations: 79.52 kB / 1.268 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.026, allocations: 0.8808 MB / 1.268 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.026, allocations: 11.92 kB / 1.268 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.026, allocations: 4 kB / 1.268 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/1.027, allocations: 196.6 kB / 1.269 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/1.027, allocations: 4 kB / 1.269 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/1.027, allocations: 31.95 kB / 1.269 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/1.027, allocations: 48.34 kB / 1.269 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001854/1.029, allocations: 0.9516 MB / 1.27 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001241/1.03, allocations: 1.041 MB / 1.271 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003474/1.031, allocations: 267.2 kB / 1.271 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004455/1.031, allocations: 387.1 kB / 1.271 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of Backend: time 2.043e-06/1.031, allocations: 4 kB / 1.271 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.034, allocations: 1.299 MB / 1.273 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002597/1.036, allocations: 1.971 MB / 1.274 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of Templates: time 0.0208/1.057, allocations: 13.19 MB / 1.287 GB, free: 13.31 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches