Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 220.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.27/3.27, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 65.88 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004348/0.3808, allocations: 2.524 MB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3837, allocations: 1.667 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3838, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.3845, allocations: 194.6 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.385, allocations: 151.3 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3855, allocations: 191.4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3858, allocations: 219.4 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.3861, allocations: 113 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3863, allocations: 95.69 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.3865, allocations: 115.6 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3865, allocations: 12 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.3869, allocations: 219.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.387, allocations: 71.86 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3871, allocations: 83.53 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.3876, allocations: 303 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3876, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3876, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3876, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 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.0008177/0.3884, allocations: 421.5 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3884, allocations: 8.031 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.3892, allocations: 88.73 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3895, allocations: 178.2 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3896, allocations: 12.64 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.3896, allocations: 12.38 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.3901, allocations: 299.6 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3902, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3902, allocations: 11.97 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.3902, allocations: 20.22 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.3907, allocations: 224.4 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.3928, allocations: 1.566 MB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.3931, allocations: 165 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3932, allocations: 57.69 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3933, allocations: 4 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3933, allocations: 30.56 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3933, allocations: 0 / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006107/0.3939, allocations: 253 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.394, allocations: 85.11 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3942, allocations: 203.5 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3943, allocations: 33.7 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3944, allocations: 160.1 kB / 1.337 GB, free: 7.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.3944, allocations: 39.62 kB / 1.337 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.3945, allocations: 53.66 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3947, allocations: 326.8 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3949, allocations: 84.8 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3951, allocations: 167.1 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3955, allocations: 247 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3955, allocations: 4 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005282/0.396, allocations: 285.2 kB / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.396, allocations: 8 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.396, allocations: 0 / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3961, allocations: 8.312 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3964, allocations: 67.89 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3964, allocations: 4 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3966, allocations: 23.97 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3966, allocations: 11.98 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002514/0.3969, allocations: 176.1 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000218/0.3971, allocations: 149.1 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003264/0.3974, allocations: 242.9 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.3974, allocations: 3.984 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004803/0.3979, allocations: 265.4 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3979, allocations: 6.344 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3979, allocations: 4 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.3979, allocations: 4 kB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3982, allocations: 55.89 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3982, allocations: 7.938 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3984, allocations: 23.92 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3985, allocations: 16.17 kB / 1.339 GB, free: 5.012 MB / 1.029 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.0001379/0.3986, allocations: 192.7 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.3987, allocations: 15.91 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3989, allocations: 143 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3989, allocations: 3.938 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3989, allocations: 0 / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.399, allocations: 3.938 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4, allocations: 0.6953 MB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4, allocations: 4.344 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4001, allocations: 27.97 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4001, allocations: 4 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4001, allocations: 4 kB / 1.34 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.4001, allocations: 7.938 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4001, allocations: 4 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.4005, allocations: 378.3 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.4006, allocations: 35.81 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.4006, allocations: 11.94 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4008, allocations: 11.98 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4008, allocations: 19.86 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4008, allocations: 8 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001852/0.401, allocations: 153.2 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.401, allocations: 0 / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005187/0.4015, allocations: 75.98 kB / 1.341 GB, free: 3.094 MB / 1.029 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.0001545/0.4017, allocations: 103.2 kB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.4023, allocations: 280.7 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4023, allocations: 0 / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.4024, allocations: 59.84 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.4028, allocations: 38.12 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.4036, allocations: 461.5 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.404, allocations: 0.7363 MB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.4041, allocations: 23.42 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4041, allocations: 0 / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of Templates: time 0.004574/0.4087, allocations: 2.387 MB / 1.344 GB, free: 14.94 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.8049644640123]