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.001313/0.001313, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001368/0.001368, allocations: 199.5 kB / 22.17 MB, free: 5.207 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.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002037/0.002037, allocations: 63.91 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006143/1.012, allocations: 3.332 MB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003187/1.016, allocations: 1.426 MB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/1.016, allocations: 4 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/1.017, allocations: 355.7 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/1.018, allocations: 155.2 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/1.018, allocations: 143.6 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/1.019, allocations: 326.9 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/1.019, allocations: 190.4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/1.02, allocations: 143.5 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/1.02, allocations: 159.4 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/1.02, allocations: 20 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/1.02, allocations: 171.6 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/1.021, allocations: 87.78 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/1.021, allocations: 115.4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/1.021, allocations: 362.6 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.021, allocations: 0 / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/1.021, allocations: 0 / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.021, allocations: 0 / 1.281 GB, free: 13.43 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.001112/1.022, allocations: 0.5454 MB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.022, allocations: 12.03 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006281/1.023, allocations: 84.67 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/1.024, allocations: 250.2 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.024, allocations: 16.8 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/1.024, allocations: 24.31 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.024, allocations: 312.7 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.024, allocations: 3.984 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/1.024, allocations: 8 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/1.024, allocations: 24.31 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/1.025, allocations: 209.6 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/1.027, allocations: 1.502 MB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/1.027, allocations: 191.7 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/1.027, allocations: 40.84 kB / 1.284 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/1.027, allocations: 0 / 1.284 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/1.027, allocations: 42.5 kB / 1.284 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/1.027, allocations: 0 / 1.284 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006204/1.028, allocations: 259.5 kB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.028, allocations: 55.41 kB / 1.284 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.028, allocations: 207.7 kB / 1.284 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/1.028, allocations: 29.7 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.028, allocations: 180 kB / 1.285 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.028, allocations: 31.69 kB / 1.285 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/1.029, allocations: 41.59 kB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.029, allocations: 330.8 kB / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/1.029, allocations: 43.97 kB / 1.285 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/1.029, allocations: 115.1 kB / 1.285 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/1.029, allocations: 160.4 kB / 1.285 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.029, allocations: 4 kB / 1.285 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000401/1.03, allocations: 214.1 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.03, allocations: 8 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.03, allocations: 400 / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/1.03, allocations: 37.06 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.03, allocations: 31.92 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/1.032, allocations: 1.425 MB / 1.287 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/1.032, allocations: 19.89 kB / 1.287 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.032, allocations: 7.984 kB / 1.287 GB, free: 6.418 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.0001788/1.032, allocations: 158.2 kB / 1.287 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/1.032, allocations: 23.84 kB / 1.287 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/1.032, allocations: 21.5 kB / 1.287 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.032, allocations: 0 / 1.287 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.032, allocations: 0 / 1.287 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.032, allocations: 0 / 1.287 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/1.033, allocations: 495.1 kB / 1.288 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.033, allocations: 96 / 1.288 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/1.033, allocations: 11.94 kB / 1.288 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/1.033, allocations: 32.83 kB / 1.288 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.033, allocations: 0 / 1.288 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/1.034, allocations: 1.421 MB / 1.289 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.034, allocations: 4.031 kB / 1.289 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/1.035, allocations: 236.1 kB / 1.289 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/1.035, allocations: 97 kB / 1.289 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/1.035, allocations: 8.094 kB / 1.289 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.035, allocations: 7.984 kB / 1.289 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/1.035, allocations: 7.984 kB / 1.29 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.035, allocations: 0 / 1.29 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001579/1.035, allocations: 149.5 kB / 1.29 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 1.29 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003647/1.035, allocations: 59.83 kB / 1.29 GB, free: 3.469 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.0001511/1.036, allocations: 112.2 kB / 1.29 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004943/1.036, allocations: 226.5 kB / 1.29 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.036, allocations: 0 / 1.29 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/1.036, allocations: 163.1 kB / 1.29 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/1.037, allocations: 38.86 kB / 1.29 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/1.037, allocations: 395.3 kB / 1.291 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/1.038, allocations: 0.7593 MB / 1.291 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.635e-05/1.038, allocations: 29.52 kB / 1.291 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/1.038, allocations: 15.44 kB / 1.291 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/1.038, allocations: 0 / 1.291 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.006075/1.044, allocations: 2.012 MB / 1.293 GB, free: 15.67 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 gbode -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.022554597817361]