Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.003/3.003, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 64.08 kB / 1.109 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.007028/1.201, allocations: 3.323 MB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003093/1.204, allocations: 1.434 MB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/1.204, allocations: 7.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.206, allocations: 354.6 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005124/1.206, allocations: 147.2 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/1.207, allocations: 157.5 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/1.207, allocations: 330.9 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/1.208, allocations: 182.9 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/1.208, allocations: 143.5 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/1.208, allocations: 159.3 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/1.208, allocations: 20 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/1.209, allocations: 179.6 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/1.209, allocations: 83.73 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/1.209, allocations: 127.4 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006524/1.209, allocations: 358.3 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.21, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.056e-06/1.21, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.116e-05/1.21, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001153/1.211, allocations: 477.4 kB / 1.282 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.211, allocations: 8.031 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/1.211, allocations: 92.67 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/1.212, allocations: 196 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.212, allocations: 16.75 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/1.212, allocations: 20.38 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/1.212, allocations: 320.6 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.212, allocations: 0 / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/1.213, allocations: 4 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/1.213, allocations: 24.38 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/1.213, allocations: 213.5 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/1.215, allocations: 1.463 MB / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/1.215, allocations: 114.6 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/1.216, allocations: 36.84 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/1.216, allocations: 8 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.216, allocations: 38.5 kB / 1.284 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/1.216, allocations: 0 / 1.284 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006223/1.216, allocations: 178.4 kB / 1.284 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.216, allocations: 51.41 kB / 1.284 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/1.217, allocations: 207.8 kB / 1.284 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/1.217, allocations: 25.7 kB / 1.284 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.217, allocations: 187.8 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/1.217, allocations: 31.73 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/1.217, allocations: 37.66 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.217, allocations: 330.8 kB / 1.285 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/1.217, allocations: 43.97 kB / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/1.217, allocations: 115 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/1.218, allocations: 164.4 kB / 1.285 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.218, allocations: 0 / 1.285 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004203/1.218, allocations: 218.1 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.218, allocations: 4 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.218, allocations: 7.984 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/1.218, allocations: 32.77 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.218, allocations: 36.14 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.22, allocations: 1.334 MB / 1.287 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/1.22, allocations: 19.88 kB / 1.287 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.22, allocations: 8 kB / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.22, allocations: 149.7 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/1.22, allocations: 15.91 kB / 1.287 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/1.22, allocations: 21.39 kB / 1.287 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/1.22, allocations: 4 kB / 1.287 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.22, allocations: 4.062 kB / 1.287 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.22, allocations: 0 / 1.287 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/1.221, allocations: 462.2 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.221, allocations: 0 / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.771e-05/1.221, allocations: 15.98 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/1.221, allocations: 20.84 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.221, allocations: 4 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/1.222, allocations: 1.326 MB / 1.289 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.222, allocations: 0 / 1.289 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.223, allocations: 240.6 kB / 1.289 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/1.223, allocations: 23.89 kB / 1.289 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/1.223, allocations: 0 / 1.289 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/1.223, allocations: 8.062 kB / 1.289 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/1.223, allocations: 11.98 kB / 1.289 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/1.223, allocations: 0 / 1.289 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001513/1.223, allocations: 144.2 kB / 1.289 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.223, allocations: 0 / 1.289 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003694/1.223, allocations: 59.92 kB / 1.289 GB, free: 4.016 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/1.224, allocations: 107.7 kB / 1.289 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005334/1.224, allocations: 226.5 kB / 1.29 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.224, allocations: 0 / 1.29 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/1.224, allocations: 166.6 kB / 1.29 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/1.225, allocations: 40.67 kB / 1.29 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/1.226, allocations: 400.1 kB / 1.29 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.226, allocations: 0.7515 MB / 1.291 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001125/1.226, allocations: 21.47 kB / 1.291 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/1.226, allocations: 19.44 kB / 1.291 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.226, allocations: 3.938 kB / 1.291 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.006838/1.233, allocations: 2.06 MB / 1.293 GB, free: 176 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: 10.278608058579266]