Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002692/0.002692, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.517/3.517, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 68.12 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5074, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006172/0.5136, allocations: 3.195 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.5164, allocations: 1.395 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.5165, allocations: 7.938 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.5177, allocations: 334.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.5181, allocations: 155.2 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.5186, allocations: 155.6 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.5191, allocations: 338.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.5195, allocations: 200 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.5198, allocations: 143.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.5202, allocations: 143.4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.5202, allocations: 23.98 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.5205, allocations: 155.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.5206, allocations: 95.66 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.5208, allocations: 99.53 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.5214, allocations: 362.7 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5214, allocations: 3.984 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5214, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5214, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 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.001017/0.5224, allocations: 485.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5224, allocations: 8.031 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.5231, allocations: 100.7 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.5235, allocations: 199.5 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5235, allocations: 12.81 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.5236, allocations: 20.38 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.5242, allocations: 393.7 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5243, allocations: 4 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.5243, allocations: 8 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.5243, allocations: 20.42 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.5247, allocations: 209.6 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.5264, allocations: 1.034 MB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.5268, allocations: 118.6 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.5269, allocations: 36.84 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5269, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.527, allocations: 34.56 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.527, allocations: 0 / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006252/0.5276, allocations: 190.3 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5276, allocations: 51.41 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.5279, allocations: 199.1 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.5279, allocations: 33.7 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.5281, allocations: 184 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.5281, allocations: 27.8 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.5282, allocations: 33.7 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.5284, allocations: 330.8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5285, allocations: 47.97 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.5287, allocations: 118.1 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.529, allocations: 168.4 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.529, allocations: 0 / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004021/0.5294, allocations: 206.2 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5294, allocations: 8 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5294, allocations: 4 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.5296, allocations: 37.05 kB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5298, allocations: 31.92 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.5311, allocations: 1.307 MB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.5312, allocations: 19.84 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.5313, allocations: 4 kB / 1.338 GB, free: 5.102 MB / 1.029 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.0001787/0.5314, allocations: 153.9 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.5315, allocations: 15.84 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.5315, allocations: 25.39 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5315, allocations: 0 / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5315, allocations: 0 / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5315, allocations: 0 / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.5322, allocations: 410.8 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5322, allocations: 0 / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.5322, allocations: 15.97 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.411e-05/0.5323, allocations: 28.84 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5323, allocations: 0 / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.5335, allocations: 1.299 MB / 1.339 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5335, allocations: 0 / 1.339 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.5338, allocations: 232.9 kB / 1.34 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.5339, allocations: 19.84 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.5339, allocations: 8.078 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5341, allocations: 11.94 kB / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.5341, allocations: 11.92 kB / 1.34 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5341, allocations: 4 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000141/0.5343, allocations: 144.2 kB / 1.34 GB, free: 2.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.5343, allocations: 0 / 1.34 GB, free: 2.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003524/0.5346, allocations: 55.89 kB / 1.34 GB, free: 2.512 MB / 1.029 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.0001554/0.5348, allocations: 103.2 kB / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.5353, allocations: 222.5 kB / 1.34 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.5353, allocations: 4 kB / 1.34 GB, free: 2.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.5355, allocations: 162.7 kB / 1.34 GB, free: 1.992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.5359, allocations: 37.17 kB / 1.34 GB, free: 1.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.5367, allocations: 406 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.5369, allocations: 144.2 kB / 1.341 GB, free: 1.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.537, allocations: 33.45 kB / 1.341 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.537, allocations: 15.38 kB / 1.341 GB, free: 1.336 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.537, allocations: 4 kB / 1.341 GB, free: 1.332 MB / 1.029 GB Notification: Performance of Templates: time 0.006432/0.5434, allocations: 2.094 MB / 1.343 GB, free: 15.29 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.330320062115788]