Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0116/0.0116, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002565/0.002565, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.2 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.89 kB / 0.9508 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.151, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008557/1.16, allocations: 6.74 MB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006217/1.166, allocations: 3.031 MB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.167, allocations: 28.09 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/1.171, allocations: 0.9434 MB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/1.173, allocations: 0.5046 MB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/1.175, allocations: 420.8 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0023/1.177, allocations: 1.226 MB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/1.178, allocations: 0.6601 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/1.18, allocations: 471 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/1.181, allocations: 0.5221 MB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/1.181, allocations: 67.06 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/1.183, allocations: 382.6 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007248/1.184, allocations: 306.5 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/1.185, allocations: 444.4 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/1.188, allocations: 1.217 MB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.188, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.865e-06/1.188, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.602e-05/1.188, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.8731 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.003369/1.191, allocations: 1.163 MB / 1.106 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.191, allocations: 9.625 kB / 1.106 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.193, allocations: 234.5 kB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.195, allocations: 0.5879 MB / 1.106 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/1.195, allocations: 51.08 kB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.195, allocations: 62.31 kB / 1.106 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/1.197, allocations: 1.093 MB / 1.108 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/1.197, allocations: 7.344 kB / 1.108 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/1.197, allocations: 34.16 kB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/1.197, allocations: 83.2 kB / 1.108 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/1.198, allocations: 0.7546 MB / 1.108 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006212/1.205, allocations: 5.874 MB / 1.114 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.206, allocations: 0.5486 MB / 1.115 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/1.206, allocations: 328.8 kB / 1.115 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/1.207, allocations: 5.562 kB / 1.115 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.207, allocations: 38.36 kB / 1.115 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.945e-06/1.207, allocations: 0 / 1.115 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004594/1.211, allocations: 1.992 MB / 1.117 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.211, allocations: 56.83 kB / 1.117 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/1.212, allocations: 0.5508 MB / 1.118 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/1.212, allocations: 31.86 kB / 1.118 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/1.213, allocations: 421.5 kB / 1.118 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/1.213, allocations: 170.8 kB / 1.118 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.213, allocations: 128.9 kB / 1.118 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.213, allocations: 378.5 kB / 1.119 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/1.214, allocations: 275.4 kB / 1.119 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/1.215, allocations: 498.2 kB / 1.119 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.216, allocations: 0.8097 MB / 1.12 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.216, allocations: 2.656 kB / 1.12 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002238/1.218, allocations: 1.084 MB / 1.121 GB, free: 196 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.218, allocations: 8.062 kB / 1.121 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.218, allocations: 11.28 kB / 1.121 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/1.219, allocations: 281.7 kB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/1.22, allocations: 128.1 kB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00876/1.229, allocations: 7.132 MB / 1.129 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/1.229, allocations: 38.39 kB / 1.129 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.23, allocations: 31.91 kB / 1.129 GB, free: 9.832 MB / 0.8887 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.0006065/1.23, allocations: 249.9 kB / 1.129 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/1.23, allocations: 76.12 kB / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.232, allocations: 0.8928 MB / 1.13 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.232, allocations: 4.5 kB / 1.13 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.232, allocations: 3.875 kB / 1.13 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.232, allocations: 3 kB / 1.13 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/1.236, allocations: 1.723 MB / 1.132 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.236, allocations: 6 kB / 1.132 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/1.236, allocations: 63.41 kB / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/1.237, allocations: 269.7 kB / 1.132 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/1.237, allocations: 9.109 kB / 1.132 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007758/1.245, allocations: 7.116 MB / 1.139 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.245, allocations: 1.062 kB / 1.139 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/1.247, allocations: 0.984 MB / 1.14 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/1.248, allocations: 189.5 kB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.248, allocations: 8.703 kB / 1.14 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/1.249, allocations: 37.52 kB / 1.14 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.249, allocations: 49.17 kB / 1.14 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.249, allocations: 11.09 kB / 1.14 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000719/1.249, allocations: 390.5 kB / 1.14 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.249, allocations: 0 / 1.14 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001421/1.251, allocations: 225 kB / 1.141 GB, free: 1.105 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/1.251, allocations: 118.7 kB / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.254, allocations: 1.278 MB / 1.142 GB, free: 256 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.254, allocations: 0 / 1.142 GB, free: 256 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/1.255, allocations: 0.8979 MB / 1.143 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.256, allocations: 220.8 kB / 1.143 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/1.259, allocations: 1.32 MB / 1.144 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/1.26, allocations: 1.007 MB / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005107/1.261, allocations: 126.4 kB / 1.146 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.261, allocations: 41.19 kB / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/1.261, allocations: 0 / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.02945/1.29, allocations: 11.3 MB / 1.157 GB, free: 11.12 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches