Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001793/0.001793, allocations: 109.9 kB / 16.42 MB, free: 6.516 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.001815/0.001815, allocations: 190.7 kB / 17.34 MB, free: 5.738 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.478/1.478, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.653/2.653, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 63.83 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01002/1.152, allocations: 6.741 MB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006131/1.158, allocations: 3.032 MB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/1.159, allocations: 27.81 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/1.162, allocations: 0.9509 MB / 1.178 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/1.164, allocations: 0.5168 MB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/1.165, allocations: 428.6 kB / 1.179 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002001/1.167, allocations: 1.232 MB / 1.18 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/1.169, allocations: 0.6618 MB / 1.181 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/1.17, allocations: 482.3 kB / 1.181 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/1.171, allocations: 0.5176 MB / 1.182 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003151/1.171, allocations: 68 kB / 1.182 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/1.172, allocations: 371.3 kB / 1.182 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/1.173, allocations: 311.1 kB / 1.182 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/1.174, allocations: 453.7 kB / 1.183 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/1.176, allocations: 1.223 MB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/1.176, allocations: 0 / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.024e-06/1.176, allocations: 3.938 kB / 1.184 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.851e-05/1.176, allocations: 0 / 1.184 GB, free: 2.805 MB / 0.9044 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.002969/1.179, allocations: 1.171 MB / 1.185 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.179, allocations: 12.88 kB / 1.185 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/1.181, allocations: 248 kB / 1.185 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.182, allocations: 0.6042 MB / 1.186 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/1.182, allocations: 45.67 kB / 1.186 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.182, allocations: 64.36 kB / 1.186 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/1.184, allocations: 1.085 MB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/1.184, allocations: 11.89 kB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/1.184, allocations: 31.98 kB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/1.184, allocations: 85.25 kB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/1.186, allocations: 0.7543 MB / 1.188 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005975/1.191, allocations: 5.882 MB / 1.194 GB, free: 8.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.193, allocations: 0.5592 MB / 1.194 GB, free: 7.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/1.193, allocations: 326 kB / 1.194 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/1.193, allocations: 4.438 kB / 1.194 GB, free: 7.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.193, allocations: 39 kB / 1.195 GB, free: 7.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 4.909e-06/1.193, allocations: 0 / 1.195 GB, free: 7.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.004047/1.197, allocations: 2.007 MB / 1.196 GB, free: 5.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.197, allocations: 55.84 kB / 1.197 GB, free: 5.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/1.198, allocations: 0.5548 MB / 1.197 GB, free: 4.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/1.198, allocations: 33.7 kB / 1.197 GB, free: 4.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/1.198, allocations: 428 kB / 1.198 GB, free: 4.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.199, allocations: 178.5 kB / 1.198 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.199, allocations: 126.6 kB / 1.198 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.199, allocations: 382.7 kB / 1.198 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/1.199, allocations: 269.9 kB / 1.198 GB, free: 3.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/1.2, allocations: 0.4892 MB / 1.199 GB, free: 2.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.201, allocations: 0.8016 MB / 1.2 GB, free: 1.625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.201, allocations: 4 kB / 1.2 GB, free: 1.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001921/1.203, allocations: 1.087 MB / 1.201 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.203, allocations: 8 kB / 1.201 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.203, allocations: 8 kB / 1.201 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009415/1.204, allocations: 275.2 kB / 1.201 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/1.205, allocations: 127.8 kB / 1.201 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/1.212, allocations: 7.146 MB / 1.208 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/1.213, allocations: 44.03 kB / 1.208 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/1.213, allocations: 24 kB / 1.208 GB, free: 8.312 MB / 0.9356 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.0004489/1.213, allocations: 253.5 kB / 1.208 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.214, allocations: 75.52 kB / 1.209 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.215, allocations: 0.8848 MB / 1.209 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.215, allocations: 7.922 kB / 1.209 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.215, allocations: 4 kB / 1.209 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/1.216, allocations: 196.6 kB / 1.21 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.216, allocations: 4 kB / 1.21 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/1.216, allocations: 31.95 kB / 1.21 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.216, allocations: 48.36 kB / 1.21 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001928/1.218, allocations: 0.9477 MB / 1.211 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001347/1.22, allocations: 1.046 MB / 1.212 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000387/1.22, allocations: 267.2 kB / 1.212 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005602/1.221, allocations: 387.1 kB / 1.212 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of Backend: time 7.82e-07/1.221, allocations: 0 / 1.212 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002871/1.224, allocations: 1.313 MB / 1.214 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003049/1.227, allocations: 1.958 MB / 1.215 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of Templates: time 0.02576/1.252, allocations: 13.18 MB / 1.228 GB, free: 3.684 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches