Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009297/0.009297, allocations: 100.9 kB / 15.73 MB, free: 6 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.002251/0.002251, allocations: 189.2 kB / 16.67 MB, free: 5.934 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.761/2.761, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3846, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005759/0.3904, allocations: 2.436 MB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.3936, allocations: 1.571 MB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.3939, allocations: 4 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009464/0.3949, allocations: 179.3 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.3956, allocations: 151.3 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3962, allocations: 183.5 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00047/0.3967, allocations: 215.3 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.3971, allocations: 125 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.3973, allocations: 91.61 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3976, allocations: 99.66 kB / 1.172 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3977, allocations: 12 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.3981, allocations: 211.6 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.3982, allocations: 67.8 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.3983, allocations: 83.55 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3988, allocations: 298.9 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3988, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3988, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.3988, allocations: 0 / 1.172 GB, free: 1.094 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007465/0.3996, allocations: 494.6 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3996, allocations: 8.031 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.4004, allocations: 88.73 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4007, allocations: 229.9 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4008, allocations: 12.66 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.4009, allocations: 16.31 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.4014, allocations: 295.6 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4014, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4014, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.4015, allocations: 20.16 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.4019, allocations: 228.4 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.4038, allocations: 1.595 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.4042, allocations: 323.3 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.4044, allocations: 65.67 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.4044, allocations: 3.984 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4044, allocations: 30.56 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.4044, allocations: 3.938 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000608/0.405, allocations: 248.9 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4051, allocations: 77.11 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4054, allocations: 215.3 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4054, allocations: 25.7 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4055, allocations: 164.1 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4056, allocations: 39.69 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.4057, allocations: 53.83 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4058, allocations: 326.8 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.406, allocations: 76.81 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.4062, allocations: 159.1 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.4066, allocations: 234.9 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4066, allocations: 8 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004932/0.4071, allocations: 269.2 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4071, allocations: 8.375 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4071, allocations: 8.469 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.4072, allocations: 7.938 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4074, allocations: 55.89 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.4075, allocations: 7.938 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.4077, allocations: 19.97 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.4077, allocations: 12 kB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002173/0.408, allocations: 174.6 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002066/0.4082, allocations: 152 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003046/0.4085, allocations: 219.9 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4085, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004536/0.409, allocations: 253.2 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.409, allocations: 8 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.409, allocations: 8 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.409, allocations: 4 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.4092, allocations: 56.3 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.4092, allocations: 15.94 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.4094, allocations: 15.98 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.4095, allocations: 8 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.4096, allocations: 192.1 kB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4097, allocations: 15.91 kB / 1.178 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.41, allocations: 150.9 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.41, allocations: 7.938 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.41, allocations: 4 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.41, allocations: 0 / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.411, allocations: 0.7236 MB / 1.179 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.411, allocations: 0 / 1.179 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.4111, allocations: 27.92 kB / 1.179 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4111, allocations: 4 kB / 1.179 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4112, allocations: 8 kB / 1.179 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4112, allocations: 4 kB / 1.179 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4112, allocations: 3.984 kB / 1.179 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.4116, allocations: 386.6 kB / 1.18 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4117, allocations: 108.9 kB / 1.18 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.4117, allocations: 11.98 kB / 1.18 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.4119, allocations: 8 kB / 1.18 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.412, allocations: 19.86 kB / 1.18 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.412, allocations: 8 kB / 1.18 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001832/0.4122, allocations: 156.8 kB / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4122, allocations: 0 / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005099/0.4127, allocations: 72 kB / 1.18 GB, free: 8.223 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.4129, allocations: 107.2 kB / 1.18 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.4134, allocations: 275.8 kB / 1.18 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4134, allocations: 0 / 1.18 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.4135, allocations: 65.66 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.414, allocations: 37.97 kB / 1.181 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.4148, allocations: 422.2 kB / 1.181 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4152, allocations: 0.7363 MB / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.4154, allocations: 81.5 kB / 1.182 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.4155, allocations: 27.38 kB / 1.182 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.4155, allocations: 0 / 1.182 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.004963/0.4205, allocations: 1.922 MB / 1.184 GB, free: 4.492 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches