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.001725/0.001725, allocations: 113 kB / 17.6 MB, free: 4.684 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.001943/0.001943, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.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.786/2.786, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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.002042/0.002042, allocations: 71.89 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276/1.278, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005338/1.283, allocations: 3.34 MB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002645/1.286, allocations: 1.421 MB / 1.277 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/1.286, allocations: 8.656 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/1.287, allocations: 358.2 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004151/1.288, allocations: 154.8 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/1.288, allocations: 148.9 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/1.289, allocations: 331.6 kB / 1.278 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/1.289, allocations: 189.7 kB / 1.278 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/1.289, allocations: 139.8 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/1.29, allocations: 160.1 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/1.29, allocations: 19.72 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/1.29, allocations: 168.5 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/1.29, allocations: 83.81 kB / 1.278 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/1.29, allocations: 131 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/1.291, allocations: 350.6 kB / 1.279 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.291, allocations: 0.9375 kB / 1.279 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.714e-06/1.291, allocations: 4 kB / 1.279 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.42e-05/1.291, allocations: 1.031 kB / 1.279 GB, free: 3.707 MB / 0.9981 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.0008565/1.292, allocations: 0.5511 MB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.292, allocations: 10 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/1.293, allocations: 75.73 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/1.293, allocations: 264.1 kB / 1.28 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.293, allocations: 18.2 kB / 1.28 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/1.293, allocations: 20.36 kB / 1.28 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/1.294, allocations: 315.3 kB / 1.28 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.294, allocations: 0.5938 kB / 1.28 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/1.294, allocations: 11.41 kB / 1.28 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/1.294, allocations: 16.02 kB / 1.28 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/1.294, allocations: 212.4 kB / 1.28 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/1.296, allocations: 1.488 MB / 1.282 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/1.296, allocations: 202.9 kB / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/1.296, allocations: 44.53 kB / 1.282 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/1.296, allocations: 0 / 1.282 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/1.296, allocations: 30.56 kB / 1.282 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/1.296, allocations: 7.984 kB / 1.282 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005664/1.297, allocations: 267.6 kB / 1.282 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/1.297, allocations: 51.41 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/1.297, allocations: 200.6 kB / 1.282 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.297, allocations: 30.55 kB / 1.282 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/1.297, allocations: 181.3 kB / 1.283 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/1.297, allocations: 30.88 kB / 1.283 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/1.297, allocations: 40.17 kB / 1.283 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/1.297, allocations: 329.3 kB / 1.283 GB, free: 200 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.297, allocations: 45.14 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.297, allocations: 109.8 kB / 1.283 GB, free: 84 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.298, allocations: 173 kB / 1.283 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.298, allocations: 3.938 kB / 1.283 GB, free: 15.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003998/1.298, allocations: 212.5 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.298, allocations: 6.344 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.298, allocations: 2.312 kB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/1.298, allocations: 28.47 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.298, allocations: 36.81 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/1.3, allocations: 1.424 MB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/1.3, allocations: 23.45 kB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.3, allocations: 11.59 kB / 1.285 GB, free: 14.38 MB / 1.014 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.0001585/1.3, allocations: 148.3 kB / 1.285 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/1.3, allocations: 16.44 kB / 1.285 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/1.3, allocations: 22.02 kB / 1.285 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/1.3, allocations: 0 / 1.285 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.3, allocations: 3.938 kB / 1.285 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.3, allocations: 0.7969 kB / 1.285 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/1.301, allocations: 490.2 kB / 1.286 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.301, allocations: 0.75 kB / 1.286 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/1.301, allocations: 13.91 kB / 1.286 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.625e-05/1.301, allocations: 24.86 kB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.301, allocations: 0.5625 kB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/1.302, allocations: 1.43 MB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.302, allocations: 0.8594 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/1.302, allocations: 237.7 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/1.302, allocations: 100 kB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.303, allocations: 3.516 kB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.303, allocations: 11.98 kB / 1.287 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/1.303, allocations: 14.02 kB / 1.287 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/1.303, allocations: 6.828 kB / 1.287 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001454/1.303, allocations: 150.8 kB / 1.288 GB, free: 11.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.303, allocations: 3.938 kB / 1.288 GB, free: 11.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003497/1.303, allocations: 58.23 kB / 1.288 GB, free: 11.97 MB / 1.014 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.0001292/1.303, allocations: 98.73 kB / 1.288 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004808/1.304, allocations: 238.9 kB / 1.288 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.304, allocations: 0 / 1.288 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/1.304, allocations: 156.4 kB / 1.288 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/1.304, allocations: 26.75 kB / 1.288 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/1.305, allocations: 413.5 kB / 1.289 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/1.306, allocations: 0.7483 MB / 1.289 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.306, allocations: 28.7 kB / 1.289 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/1.306, allocations: 14.39 kB / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.306, allocations: 0 / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of Templates: time 0.006103/1.312, allocations: 2.02 MB / 1.291 GB, free: 10.45 MB / 1.014 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: 9.56184761878103]