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.001993/0.001993, allocations: 113.9 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.002161/0.002161, allocations: 189.2 kB / 22.23 MB, free: 5.105 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 443.4 MB / 0.7321 GB, free: 12.44 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002012/0.002012, allocations: 71.83 kB / 1.061 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 160.8 MB / 1.218 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00584/1.112, allocations: 3.33 MB / 1.222 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002933/1.115, allocations: 1.421 MB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/1.115, allocations: 9.375 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/1.117, allocations: 358 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004908/1.117, allocations: 153.6 kB / 1.224 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/1.118, allocations: 145.5 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005399/1.118, allocations: 330.4 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/1.119, allocations: 186.4 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/1.119, allocations: 145.9 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/1.119, allocations: 157.9 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/1.119, allocations: 20.16 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/1.12, allocations: 169.8 kB / 1.225 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/1.12, allocations: 95.38 kB / 1.225 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.12, allocations: 120.9 kB / 1.225 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/1.121, allocations: 363.2 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.121, allocations: 0 / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/1.121, allocations: 0.9688 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.121, allocations: 0 / 1.225 GB, free: 14.71 MB / 0.9356 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.001131/1.122, allocations: 0.5472 MB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.122, allocations: 12.91 kB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/1.123, allocations: 81.45 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/1.123, allocations: 252.9 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/1.123, allocations: 21.12 kB / 1.226 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/1.123, allocations: 20.55 kB / 1.226 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/1.124, allocations: 311.6 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.124, allocations: 3.938 kB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/1.124, allocations: 10.78 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/1.124, allocations: 18.17 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/1.124, allocations: 214.1 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/1.126, allocations: 1.487 MB / 1.228 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/1.126, allocations: 198.7 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/1.127, allocations: 47.83 kB / 1.228 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/1.127, allocations: 1 kB / 1.228 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.127, allocations: 31.97 kB / 1.228 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/1.127, allocations: 1.75 kB / 1.228 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0006537/1.127, allocations: 259.5 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.127, allocations: 52.56 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/1.128, allocations: 207.3 kB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.128, allocations: 27.02 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.128, allocations: 185.7 kB / 1.229 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/1.128, allocations: 32.3 kB / 1.229 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/1.128, allocations: 41.59 kB / 1.229 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.128, allocations: 330.1 kB / 1.229 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.128, allocations: 44.38 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.128, allocations: 109.6 kB / 1.23 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/1.129, allocations: 172.8 kB / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.129, allocations: 0 / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004386/1.129, allocations: 212.2 kB / 1.23 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.129, allocations: 10.62 kB / 1.23 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.129, allocations: 2.625 kB / 1.23 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/1.129, allocations: 29.91 kB / 1.23 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/1.129, allocations: 36.91 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/1.131, allocations: 1.429 MB / 1.231 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/1.131, allocations: 22.81 kB / 1.231 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.131, allocations: 6.812 kB / 1.232 GB, free: 8.934 MB / 0.9356 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.0001749/1.131, allocations: 158.4 kB / 1.232 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/1.131, allocations: 16.22 kB / 1.232 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/1.131, allocations: 21.36 kB / 1.232 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.131, allocations: 1.219 kB / 1.232 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/1.131, allocations: 0 / 1.232 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/1.131, allocations: 1.156 kB / 1.232 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/1.132, allocations: 492.5 kB / 1.232 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.132, allocations: 0 / 1.232 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/1.132, allocations: 17.17 kB / 1.232 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/1.132, allocations: 24.22 kB / 1.232 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.132, allocations: 0 / 1.232 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/1.133, allocations: 1.429 MB / 1.234 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.133, allocations: 0 / 1.234 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/1.134, allocations: 241.1 kB / 1.234 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.134, allocations: 99.81 kB / 1.234 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.134, allocations: 1.125 kB / 1.234 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.134, allocations: 3.781 kB / 1.234 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.134, allocations: 11.55 kB / 1.234 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.134, allocations: 2.156 kB / 1.234 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001468/1.134, allocations: 153.2 kB / 1.234 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.134, allocations: 0 / 1.234 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004038/1.134, allocations: 59.48 kB / 1.234 GB, free: 6.363 MB / 0.9356 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.0001332/1.134, allocations: 103.2 kB / 1.234 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004742/1.135, allocations: 234.5 kB / 1.234 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.135, allocations: 0 / 1.234 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/1.135, allocations: 159.2 kB / 1.235 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/1.136, allocations: 40.28 kB / 1.235 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/1.136, allocations: 396.1 kB / 1.235 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/1.137, allocations: 0.7593 MB / 1.236 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.545e-05/1.137, allocations: 37.39 kB / 1.236 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/1.137, allocations: 15.44 kB / 1.236 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.137, allocations: 0 / 1.236 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.005968/1.143, allocations: 2.052 MB / 1.238 GB, free: 2.523 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.52445753570646]