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.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.001793/0.001793, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002388/0.002388, allocations: 218 kB / 23.01 MB, free: 4.566 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002025/0.002025, allocations: 66.58 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005694/0.3471, allocations: 3.347 MB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3498, allocations: 1.504 MB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.35, allocations: 11.94 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.3511, allocations: 348.4 kB / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3514, allocations: 151.2 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.3519, allocations: 163.5 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.3523, allocations: 330.9 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.3527, allocations: 196.1 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.353, allocations: 159.5 kB / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.3533, allocations: 151.4 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.3533, allocations: 20 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.3537, allocations: 179.6 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.3538, allocations: 83.73 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.3539, allocations: 131.4 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.3544, allocations: 366.6 kB / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3544, allocations: 0 / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3544, allocations: 0 / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3544, allocations: 0 / 1.292 GB, free: 4.082 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.0009052/0.3553, allocations: 486.8 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3554, allocations: 8.031 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/0.356, allocations: 100.7 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3563, allocations: 191.5 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3564, allocations: 16.8 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3564, allocations: 20.38 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.3569, allocations: 316.6 kB / 1.293 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3569, allocations: 0 / 1.293 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.357, allocations: 12 kB / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.357, allocations: 16.42 kB / 1.293 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3574, allocations: 213.5 kB / 1.293 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.3591, allocations: 1.459 MB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3595, allocations: 118.6 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3596, allocations: 40.84 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3596, allocations: 11.97 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3596, allocations: 34.5 kB / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3596, allocations: 0 / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.3602, allocations: 190.3 kB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3602, allocations: 51.41 kB / 1.295 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3605, allocations: 206.9 kB / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3605, allocations: 33.7 kB / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3606, allocations: 172 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3607, allocations: 31.73 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.3607, allocations: 41.67 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3609, allocations: 334.8 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.361, allocations: 43.92 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3612, allocations: 112.6 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.3614, allocations: 168.4 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3614, allocations: 0 / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003869/0.3618, allocations: 218 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3618, allocations: 10.97 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3619, allocations: 4 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.362, allocations: 28.78 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3621, allocations: 36.2 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3633, allocations: 1.326 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3635, allocations: 19.86 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3635, allocations: 12 kB / 1.297 GB, free: 13.56 MB / 0.9981 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.0001548/0.3636, allocations: 149.7 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.3637, allocations: 15.91 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.3637, allocations: 17.41 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3637, allocations: 8.047 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3637, allocations: 4 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3637, allocations: 0 / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.3644, allocations: 458.6 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3644, allocations: 0 / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.3645, allocations: 19.98 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.074e-05/0.3645, allocations: 20.84 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3646, allocations: 8 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.3657, allocations: 1.326 MB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3657, allocations: 80 / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.3661, allocations: 248.1 kB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.3661, allocations: 19.84 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3661, allocations: 4 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3663, allocations: 12.05 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.3663, allocations: 7.984 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3663, allocations: 0 / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001355/0.3664, allocations: 147.2 kB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003642/0.3668, allocations: 59.83 kB / 1.3 GB, free: 10.86 MB / 0.9981 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.0001211/0.3669, allocations: 95.25 kB / 1.3 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.3674, allocations: 230.5 kB / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3674, allocations: 0 / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.3676, allocations: 162.5 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.368, allocations: 39 kB / 1.3 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.3688, allocations: 434.1 kB / 1.301 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3692, allocations: 0.7632 MB / 1.301 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3692, allocations: 19.44 kB / 1.302 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3692, allocations: 0 / 1.302 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of Templates: time 0.005702/0.3749, allocations: 3.274 MB / 1.305 GB, free: 5.777 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 -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/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: 11.974889498989796]