Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.9 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7634 GB, free: 15.35 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.88 kB / 1.108 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9822, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003731/0.9859, allocations: 2.457 MB / 1.275 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.9883, allocations: 1.607 MB / 1.276 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.9885, allocations: 2.938 kB / 1.276 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.9891, allocations: 173.6 kB / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.9895, allocations: 158.2 kB / 1.277 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.99, allocations: 190 kB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.9903, allocations: 212.1 kB / 1.277 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.9906, allocations: 103.7 kB / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.9907, allocations: 90.52 kB / 1.277 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.991, allocations: 105.2 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.991, allocations: 11.88 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.9914, allocations: 221.8 kB / 1.278 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.9915, allocations: 62.22 kB / 1.278 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.9916, allocations: 79.34 kB / 1.278 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.9921, allocations: 315 kB / 1.278 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9921, allocations: 3.656 kB / 1.278 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9921, allocations: 0.9375 kB / 1.278 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9921, allocations: 0 / 1.278 GB, free: 4.484 MB / 0.9981 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.0006813/0.9928, allocations: 480.2 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9928, allocations: 8.656 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.9936, allocations: 89.31 kB / 1.279 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.9938, allocations: 235.7 kB / 1.279 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.9939, allocations: 10.19 kB / 1.279 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.9939, allocations: 13.12 kB / 1.279 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.9944, allocations: 301.8 kB / 1.279 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.9944, allocations: 0.8438 kB / 1.279 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.9944, allocations: 10.62 kB / 1.279 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.9945, allocations: 19.88 kB / 1.279 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.9949, allocations: 224 kB / 1.279 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.9965, allocations: 1.6 MB / 1.281 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.9969, allocations: 307.9 kB / 1.281 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.997, allocations: 65.94 kB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.997, allocations: 1.719 kB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.997, allocations: 36.02 kB / 1.281 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.997, allocations: 0 / 1.281 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006138/0.9976, allocations: 248 kB / 1.282 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.9977, allocations: 78.92 kB / 1.282 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.9979, allocations: 210.8 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.9979, allocations: 25.7 kB / 1.282 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.998, allocations: 162.2 kB / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.998, allocations: 31.89 kB / 1.282 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.9981, allocations: 50.72 kB / 1.282 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.9982, allocations: 327.5 kB / 1.282 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.9983, allocations: 81.55 kB / 1.282 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.9985, allocations: 163 kB / 1.283 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.9989, allocations: 239.5 kB / 1.283 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9989, allocations: 0 / 1.283 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000475/0.9993, allocations: 272.2 kB / 1.283 GB, free: 416 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9993, allocations: 4.844 kB / 1.283 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9994, allocations: 5.281 kB / 1.283 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.9994, allocations: 9.25 kB / 1.283 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.9996, allocations: 56.23 kB / 1.283 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9996, allocations: 8.984 kB / 1.283 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.9999, allocations: 26.27 kB / 1.283 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.9999, allocations: 9.078 kB / 1.283 GB, free: 392 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000189/1, allocations: 167.1 kB / 1.283 GB, free: 280 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001657/1, allocations: 163.8 kB / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002767/1.001, allocations: 219 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.001, allocations: 0 / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000481/1.001, allocations: 255.6 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/1.001, allocations: 8.75 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.001, allocations: 7.094 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/1.001, allocations: 10.16 kB / 1.284 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.001, allocations: 53.73 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/1.001, allocations: 8.641 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.001, allocations: 16.61 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/1.001, allocations: 16.86 kB / 1.284 GB, free: 15.81 MB / 1.014 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.0001364/1.002, allocations: 189.6 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/1.002, allocations: 14.84 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/1.002, allocations: 145 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.002, allocations: 8.188 kB / 1.284 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.002, allocations: 0 / 1.284 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.002, allocations: 0.8438 kB / 1.284 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.003, allocations: 0.7257 MB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.003, allocations: 2.125 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.003, allocations: 26.66 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.003, allocations: 4.438 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.003, allocations: 8.281 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.003, allocations: 7.922 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.003, allocations: 3.344 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/1.004, allocations: 378.8 kB / 1.286 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/1.004, allocations: 105.2 kB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/1.004, allocations: 17.45 kB / 1.286 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.004, allocations: 9.797 kB / 1.286 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.004, allocations: 21.34 kB / 1.286 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.004, allocations: 4.938 kB / 1.286 GB, free: 14.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001965/1.004, allocations: 156.5 kB / 1.286 GB, free: 14.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.004, allocations: 4 kB / 1.286 GB, free: 14.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005274/1.005, allocations: 69.47 kB / 1.286 GB, free: 14.39 MB / 1.014 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.0001489/1.005, allocations: 113.8 kB / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005503/1.005, allocations: 267.6 kB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.005, allocations: 0 / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/1.005, allocations: 59.83 kB / 1.286 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/1.006, allocations: 31.34 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/1.007, allocations: 448 kB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/1.007, allocations: 0.7447 MB / 1.288 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/1.007, allocations: 21.41 kB / 1.288 GB, free: 13.13 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.007, allocations: 0 / 1.288 GB, free: 13.13 MB / 1.014 GB Notification: Performance of Templates: time 0.004929/1.012, allocations: 2.353 MB / 1.29 GB, free: 12.93 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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