Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001312/0.001312, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001381/0.001381, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_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_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005157/0.3257, allocations: 3.261 MB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.328, allocations: 1.402 MB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3281, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3292, allocations: 342.3 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.3296, allocations: 155.2 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.33, allocations: 139.6 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.3304, allocations: 338.8 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.3309, allocations: 203.6 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3311, allocations: 147.5 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3314, allocations: 155.4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.3314, allocations: 20 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.3318, allocations: 175.6 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3319, allocations: 87.72 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.332, allocations: 119.4 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.3325, allocations: 350.7 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3325, allocations: 3.984 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.417e-06/0.3325, allocations: 8 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3325, allocations: 0 / 1.221 GB, free: 10.03 MB / 0.9669 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.0009528/0.3335, allocations: 0.5415 MB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3335, allocations: 8.031 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.3341, allocations: 80.67 kB / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3345, allocations: 256 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3345, allocations: 16.81 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3345, allocations: 16.38 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.3351, allocations: 324.6 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3351, allocations: 0 / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.3351, allocations: 15.97 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.3352, allocations: 16.44 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.3356, allocations: 217.5 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3373, allocations: 1.494 MB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.3378, allocations: 199.7 kB / 1.224 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3379, allocations: 40.84 kB / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3379, allocations: 0 / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.338, allocations: 38.48 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.338, allocations: 4 kB / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.3386, allocations: 259.5 kB / 1.224 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3386, allocations: 51.41 kB / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.3388, allocations: 207.7 kB / 1.224 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3389, allocations: 25.7 kB / 1.224 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.339, allocations: 184 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.339, allocations: 31.73 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.3391, allocations: 37.67 kB / 1.225 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3393, allocations: 326.8 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3394, allocations: 47.91 kB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3395, allocations: 115 kB / 1.225 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.3398, allocations: 168.4 kB / 1.225 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3398, allocations: 4 kB / 1.225 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003982/0.3402, allocations: 210.3 kB / 1.225 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3402, allocations: 8 kB / 1.226 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3402, allocations: 400 / 1.226 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.3404, allocations: 32.78 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3406, allocations: 31.92 kB / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3418, allocations: 1.429 MB / 1.227 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.342, allocations: 23.98 kB / 1.227 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.342, allocations: 11.98 kB / 1.227 GB, free: 3.02 MB / 0.9669 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.0001602/0.3422, allocations: 160.5 kB / 1.227 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3422, allocations: 15.91 kB / 1.227 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.3423, allocations: 17.41 kB / 1.227 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3423, allocations: 4 kB / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3423, allocations: 0 / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3423, allocations: 3.984 kB / 1.227 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.3429, allocations: 491.1 kB / 1.228 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3429, allocations: 0 / 1.228 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.343, allocations: 12 kB / 1.228 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/0.3431, allocations: 28.77 kB / 1.228 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3431, allocations: 4 kB / 1.228 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.3443, allocations: 1.425 MB / 1.229 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3443, allocations: 160 / 1.229 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3446, allocations: 244.2 kB / 1.229 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.3447, allocations: 101 kB / 1.229 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3447, allocations: 7.984 kB / 1.229 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3449, allocations: 4 kB / 1.229 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.3449, allocations: 7.984 kB / 1.229 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3449, allocations: 8 kB / 1.229 GB, free: 268 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001578/0.3451, allocations: 144.3 kB / 1.23 GB, free: 124 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3451, allocations: 3.938 kB / 1.23 GB, free: 120 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003481/0.3454, allocations: 59.83 kB / 1.23 GB, free: 60 kB / 0.9669 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.0001421/0.3456, allocations: 97.55 kB / 1.23 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.346, allocations: 230.7 kB / 1.23 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.346, allocations: 0 / 1.23 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.3463, allocations: 162.5 kB / 1.23 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3466, allocations: 27.98 kB / 1.23 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.3474, allocations: 441.3 kB / 1.231 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3478, allocations: 0.7515 MB / 1.231 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.3478, allocations: 19.44 kB / 1.231 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3478, allocations: 0 / 1.231 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.005752/0.3536, allocations: 3.261 MB / 1.234 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.600164585979655]