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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 112.6 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.06 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005057/0.394, allocations: 3.259 MB / 1.265 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3963, allocations: 1.383 MB / 1.267 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3964, allocations: 7.938 kB / 1.267 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.3974, allocations: 338.3 kB / 1.267 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.3978, allocations: 155.2 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3981, allocations: 147.6 kB / 1.267 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.3985, allocations: 326.9 kB / 1.268 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.3989, allocations: 216.2 kB / 1.268 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3991, allocations: 139.5 kB / 1.268 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.3994, allocations: 155.4 kB / 1.268 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3995, allocations: 20 kB / 1.268 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3998, allocations: 175.6 kB / 1.268 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3999, allocations: 87.72 kB / 1.268 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.4, allocations: 119.4 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.4005, allocations: 358.7 kB / 1.269 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4005, allocations: 0 / 1.269 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4005, allocations: 0 / 1.269 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4005, allocations: 0 / 1.269 GB, free: 6.09 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.0009028/0.4014, allocations: 0.5415 MB / 1.269 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4015, allocations: 12.03 kB / 1.269 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.4021, allocations: 84.67 kB / 1.269 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.4024, allocations: 252 kB / 1.27 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.4024, allocations: 16.8 kB / 1.27 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.4025, allocations: 24.38 kB / 1.27 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.403, allocations: 312.7 kB / 1.27 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.403, allocations: 3.938 kB / 1.27 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.403, allocations: 11.98 kB / 1.27 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.4031, allocations: 20.38 kB / 1.27 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.4035, allocations: 217.5 kB / 1.27 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.4051, allocations: 1.498 MB / 1.272 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.4055, allocations: 199.6 kB / 1.272 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.4056, allocations: 36.84 kB / 1.272 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4056, allocations: 4 kB / 1.272 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4057, allocations: 38.55 kB / 1.272 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.4057, allocations: 0 / 1.272 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005762/0.4063, allocations: 255.5 kB / 1.272 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4063, allocations: 63.34 kB / 1.272 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.4065, allocations: 207.7 kB / 1.272 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4065, allocations: 25.7 kB / 1.272 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4066, allocations: 172 kB / 1.273 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.4067, allocations: 31.73 kB / 1.273 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.4067, allocations: 41.67 kB / 1.273 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4069, allocations: 330.8 kB / 1.273 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.407, allocations: 39.98 kB / 1.273 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4071, allocations: 114.8 kB / 1.273 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.4074, allocations: 168.4 kB / 1.273 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4074, allocations: 0 / 1.273 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003867/0.4078, allocations: 214.1 kB / 1.273 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4078, allocations: 4 kB / 1.273 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4078, allocations: 4 kB / 1.273 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.408, allocations: 33.12 kB / 1.274 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4081, allocations: 31.98 kB / 1.274 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.4093, allocations: 1.43 MB / 1.275 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4094, allocations: 19.77 kB / 1.275 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.4095, allocations: 19.97 kB / 1.275 GB, free: 15.07 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.0001411/0.4096, allocations: 145.7 kB / 1.275 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.4096, allocations: 19.86 kB / 1.275 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.4097, allocations: 21.5 kB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4097, allocations: 3.984 kB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4097, allocations: 0 / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.4098, allocations: 101 kB / 1.275 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4098, allocations: 4.062 kB / 1.275 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4099, allocations: 8 kB / 1.275 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.41, allocations: 11.92 kB / 1.275 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003593/0.4103, allocations: 226 kB / 1.275 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000371/0.4107, allocations: 322.7 kB / 1.276 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.886e-05/0.4108, allocations: 39.98 kB / 1.276 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001327/0.4109, allocations: 149.5 kB / 1.276 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of Backend: time 4e-07/0.4109, allocations: 0 / 1.276 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008745/0.4118, allocations: 365.1 kB / 1.276 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of SimCode: time 0.0009543/0.4128, allocations: 0.8761 MB / 1.277 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.006775/0.4195, allocations: 2.81 MB / 1.28 GB, free: 9.898 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (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) 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) Reference file matches