Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00151/0.00151, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001552/0.001552, allocations: 183.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.608/1.608, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.714/2.714, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 68.11 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.066, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01577/1.082, allocations: 10.91 MB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01629/1.098, allocations: 8.811 MB / 1.187 GB, free: 152 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/1.101, allocations: 59.62 kB / 1.187 GB, free: 92 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00596/1.107, allocations: 1.665 MB / 1.188 GB, free: 14.42 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008089/1.115, allocations: 1.565 MB / 1.19 GB, free: 12.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/1.118, allocations: 0.6725 MB / 1.19 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004423/1.123, allocations: 2.28 MB / 1.193 GB, free: 9.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/1.126, allocations: 1.387 MB / 1.194 GB, free: 8.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/1.129, allocations: 1.016 MB / 1.195 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/1.131, allocations: 1.016 MB / 1.196 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006838/1.132, allocations: 136 kB / 1.196 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/1.135, allocations: 0.7994 MB / 1.197 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/1.136, allocations: 0.5725 MB / 1.197 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/1.138, allocations: 0.8861 MB / 1.198 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/1.144, allocations: 2.564 MB / 1.201 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/1.144, allocations: 8 kB / 1.201 GB, free: 1.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.407e-06/1.144, allocations: 0 / 1.201 GB, free: 1.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001251/1.144, allocations: 0 / 1.201 GB, free: 1.457 MB / 0.92 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.005656/1.15, allocations: 2.01 MB / 1.203 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.15, allocations: 16.58 kB / 1.203 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/1.162, allocations: 2.046 MB / 1.205 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/1.165, allocations: 1.212 MB / 1.206 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.166, allocations: 90.62 kB / 1.206 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/1.166, allocations: 124.1 kB / 1.206 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007011/1.173, allocations: 2.478 MB / 1.209 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.267e-05/1.173, allocations: 11.84 kB / 1.209 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/1.174, allocations: 55.98 kB / 1.209 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004163/1.174, allocations: 130.1 kB / 1.209 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008041/1.182, allocations: 2.541 MB / 1.211 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/1.198, allocations: 10.02 MB / 1.221 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006658/1.205, allocations: 1.949 MB / 1.223 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/1.208, allocations: 0.9723 MB / 1.224 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/1.208, allocations: 8.422 kB / 1.224 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/1.208, allocations: 39 kB / 1.224 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 5e-06/1.208, allocations: 7.938 kB / 1.224 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03268/1.241, allocations: 8.718 MB / 1.233 GB, free: 0 / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/1.241, allocations: 60.06 kB / 1.233 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.243, allocations: 1.104 MB / 1.234 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.243, allocations: 37.7 kB / 1.234 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/1.244, allocations: 0.7341 MB / 1.234 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/1.244, allocations: 283.9 kB / 1.235 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/1.244, allocations: 198.4 kB / 1.235 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.244, allocations: 349.9 kB / 1.235 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/1.248, allocations: 1.067 MB / 1.236 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/1.251, allocations: 1.305 MB / 1.237 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006318/1.257, allocations: 2.386 MB / 1.24 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.257, allocations: 0 / 1.24 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00927/1.266, allocations: 3.276 MB / 1.243 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/1.267, allocations: 11.38 kB / 1.243 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.267, allocations: 8 kB / 1.243 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/1.27, allocations: 0.8027 MB / 1.244 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.272, allocations: 411.3 kB / 1.244 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/1.29, allocations: 15.91 MB / 1.26 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/1.293, allocations: 299.5 kB / 1.26 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.293, allocations: 55.91 kB / 1.26 GB, free: 2.297 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 (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.001064/1.294, allocations: 397.5 kB / 1.26 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.295, allocations: 142.3 kB / 1.261 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009595/1.304, allocations: 3.202 MB / 1.264 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/1.304, allocations: 7.922 kB / 1.264 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.304, allocations: 0 / 1.264 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.305, allocations: 387.2 kB / 1.264 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/1.306, allocations: 23.91 kB / 1.264 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.308, allocations: 279.5 kB / 1.264 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.308, allocations: 88.48 kB / 1.264 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0113/1.32, allocations: 3.453 MB / 1.268 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01034/1.33, allocations: 3.609 MB / 1.271 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003017/1.333, allocations: 1.133 MB / 1.272 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001288/1.334, allocations: 0.7366 MB / 1.273 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of Backend: time 6.91e-07/1.334, allocations: 0 / 1.273 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00796/1.342, allocations: 3.069 MB / 1.276 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of SimCode: time 0.006619/1.349, allocations: 3.621 MB / 1.28 GB, free: 13.9 MB / 1.014 GB Notification: Performance of Templates: time 0.06272/1.412, allocations: 37.65 MB / 1.317 GB, free: 8.637 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches