Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 111.2 kB / 16.41 MB, free: 6.469 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.001551/0.001551, allocations: 192.2 kB / 17.35 MB, free: 5.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.404/1.404, 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 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.83 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.8353, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01466/0.85, allocations: 10.9 MB / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.8642, allocations: 8.802 MB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.8661, allocations: 59.62 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004497/0.8706, allocations: 1.682 MB / 1.229 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.8754, allocations: 1.517 MB / 1.231 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.8776, allocations: 0.6741 MB / 1.232 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.8812, allocations: 2.286 MB / 1.234 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.8835, allocations: 1.385 MB / 1.235 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.8855, allocations: 1.012 MB / 1.236 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.8877, allocations: 1.008 MB / 1.237 GB, free: 340 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.8882, allocations: 136 kB / 1.237 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.8903, allocations: 0.8032 MB / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008376/0.8911, allocations: 0.5686 MB / 1.239 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.8928, allocations: 0.8862 MB / 1.239 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.8969, allocations: 2.57 MB / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.8969, allocations: 0 / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8969, allocations: 0 / 1.242 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001008/0.897, allocations: 0 / 1.242 GB, free: 11.36 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004475/0.9015, allocations: 2.014 MB / 1.244 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9016, allocations: 8.031 kB / 1.244 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.9121, allocations: 2.05 MB / 1.246 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.9149, allocations: 1.216 MB / 1.247 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.915, allocations: 90.62 kB / 1.247 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/0.9156, allocations: 116.1 kB / 1.247 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006278/0.9219, allocations: 2.478 MB / 1.25 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/0.922, allocations: 15.83 kB / 1.25 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.9223, allocations: 55.98 kB / 1.25 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003642/0.9226, allocations: 126.1 kB / 1.25 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/0.9299, allocations: 2.537 MB / 1.252 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.9453, allocations: 10.03 MB / 1.262 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005672/0.9511, allocations: 1.956 MB / 1.264 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.9536, allocations: 0.966 MB / 1.265 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.9537, allocations: 4.438 kB / 1.265 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.9537, allocations: 43 kB / 1.265 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.996e-06/0.9537, allocations: 0 / 1.265 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.02945/0.9832, allocations: 8.711 MB / 1.274 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.9833, allocations: 60.06 kB / 1.274 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.9849, allocations: 1.104 MB / 1.275 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.9851, allocations: 41.7 kB / 1.275 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.9856, allocations: 0.7379 MB / 1.275 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.9859, allocations: 283.9 kB / 1.276 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.9863, allocations: 206.4 kB / 1.276 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9864, allocations: 338 kB / 1.276 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.9892, allocations: 1.071 MB / 1.277 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.992, allocations: 1.309 MB / 1.279 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.9977, allocations: 2.386 MB / 1.281 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.9977, allocations: 4 kB / 1.281 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008479/1.006, allocations: 3.273 MB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.006, allocations: 9.719 kB / 1.284 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.006, allocations: 8.031 kB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/1.009, allocations: 0.7872 MB / 1.285 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.011, allocations: 415.3 kB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/1.028, allocations: 15.92 MB / 1.301 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/1.031, allocations: 287.5 kB / 1.301 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/1.031, allocations: 51.97 kB / 1.301 GB, free: 12.21 MB / 1.029 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001264/1.032, allocations: 404.6 kB / 1.302 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.033, allocations: 142.3 kB / 1.302 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/1.042, allocations: 3.202 MB / 1.305 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.042, allocations: 7.922 kB / 1.305 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.042, allocations: 0 / 1.305 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.043, allocations: 391.2 kB / 1.305 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/1.043, allocations: 19.89 kB / 1.305 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.045, allocations: 275.5 kB / 1.305 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.045, allocations: 88.48 kB / 1.306 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01015/1.056, allocations: 3.461 MB / 1.309 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008881/1.064, allocations: 3.605 MB / 1.312 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002658/1.067, allocations: 1.133 MB / 1.314 GB, free: 15.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0013/1.069, allocations: 0.7366 MB / 1.314 GB, free: 14.64 MB / 1.045 GB Notification: Performance of Backend: time 3.51e-07/1.069, allocations: 0 / 1.314 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007871/1.076, allocations: 3.071 MB / 1.317 GB, free: 11.46 MB / 1.045 GB Notification: Performance of SimCode: time 0.007242/1.084, allocations: 3.632 MB / 1.321 GB, free: 7.805 MB / 1.045 GB Notification: Performance of Templates: time 0.06352/1.147, allocations: 38.35 MB / 1.358 GB, free: 1.84 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches