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.002084/0.002084, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002384/0.002384, allocations: 192.1 kB / 22.17 MB, free: 5.656 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.001969/0.001969, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9747, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005738/0.9804, allocations: 3.32 MB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002863/0.9833, allocations: 1.434 MB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.9835, allocations: 7.938 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.9848, allocations: 351.5 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.9852, allocations: 143.2 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.9856, allocations: 156.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.9861, allocations: 330.9 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.9866, allocations: 194.3 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.9868, allocations: 135.5 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.9872, allocations: 155.4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.9872, allocations: 20 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.9876, allocations: 171.6 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.9877, allocations: 87.73 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.9879, allocations: 127.3 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.9885, allocations: 358.7 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.9885, allocations: 4 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9885, allocations: 0 / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.9885, allocations: 4 kB / 1.281 GB, free: 13.6 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.00105/0.9896, allocations: 0.5299 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9896, allocations: 11.97 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.9902, allocations: 88.67 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.9906, allocations: 259.9 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.9906, allocations: 12.81 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.9906, allocations: 24.36 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.9912, allocations: 316.6 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9912, allocations: 4 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.9912, allocations: 8 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.9913, allocations: 20.42 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.9917, allocations: 209.6 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.9936, allocations: 1.494 MB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.9941, allocations: 203.6 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.9942, allocations: 40.83 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.9942, allocations: 4 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.9942, allocations: 30.56 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.9942, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006099/0.9949, allocations: 263.4 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.9949, allocations: 51.41 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.9951, allocations: 203.8 kB / 1.284 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.9952, allocations: 25.7 kB / 1.284 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.9953, allocations: 188 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.9953, allocations: 35.73 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.9954, allocations: 33.67 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9956, allocations: 334.8 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.9957, allocations: 39.98 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.9958, allocations: 112.5 kB / 1.285 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.9961, allocations: 168.4 kB / 1.285 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9961, allocations: 4 kB / 1.285 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004488/0.9966, allocations: 214.3 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9966, allocations: 8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9966, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.9968, allocations: 28.84 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.9969, allocations: 35.86 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.9982, allocations: 1.422 MB / 1.287 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.9984, allocations: 19.89 kB / 1.287 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.9984, allocations: 12.08 kB / 1.287 GB, free: 6.594 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.0002019/0.9986, allocations: 154.2 kB / 1.287 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.9987, allocations: 19.86 kB / 1.287 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.9987, allocations: 21.39 kB / 1.287 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.9987, allocations: 4.062 kB / 1.287 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.9987, allocations: 4 kB / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9987, allocations: 0 / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/0.9996, allocations: 491.2 kB / 1.288 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9996, allocations: 4 kB / 1.288 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.9997, allocations: 15.92 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.9998, allocations: 24.84 kB / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.9998, allocations: 0 / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/1.001, allocations: 1.429 MB / 1.289 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.001, allocations: 0 / 1.289 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/1.001, allocations: 240.4 kB / 1.289 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/1.002, allocations: 93 kB / 1.289 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.002, allocations: 8 kB / 1.289 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.002, allocations: 4 kB / 1.289 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/1.002, allocations: 11.92 kB / 1.289 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/1.002, allocations: 4 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001525/1.002, allocations: 153.5 kB / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.002, allocations: 0 / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003598/1.002, allocations: 59.83 kB / 1.29 GB, free: 3.637 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.0001541/1.002, allocations: 96.23 kB / 1.29 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004855/1.003, allocations: 234.8 kB / 1.29 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.003, allocations: 0 / 1.29 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/1.003, allocations: 158.6 kB / 1.29 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/1.004, allocations: 39.86 kB / 1.29 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/1.004, allocations: 411.5 kB / 1.291 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.005, allocations: 0.7515 MB / 1.291 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.651e-05/1.005, allocations: 25.53 kB / 1.291 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/1.005, allocations: 15.44 kB / 1.291 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.005, allocations: 0 / 1.291 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.005791/1.011, allocations: 2.016 MB / 1.293 GB, free: 15.84 MB / 0.9981 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.112664117012173]