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.0009689/0.0009689, allocations: 67.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.00134/0.00134, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9008/0.9008, allocations: 177.1 MB / 204.6 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.957/1.957, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.702e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003326/0.003343, allocations: 3.333 MB / 0.8148 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004946, allocations: 1.432 MB / 0.8162 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.005065, allocations: 7.938 kB / 0.8162 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.00571, allocations: 352 kB / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.005975, allocations: 148.3 kB / 0.8166 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.006252, allocations: 160.8 kB / 0.8168 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.006561, allocations: 350.6 kB / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.006886, allocations: 196.6 kB / 0.8173 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.007118, allocations: 205.2 kB / 0.8175 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.00732, allocations: 135.6 kB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.007348, allocations: 20 kB / 0.8177 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.007539, allocations: 164.5 kB / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.007619, allocations: 95.73 kB / 0.8179 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.007694, allocations: 87.81 kB / 0.818 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.008003, allocations: 287.6 kB / 0.8183 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.008005, allocations: 0 / 0.8183 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.008006, allocations: 0.9375 kB / 0.8183 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.008011, allocations: 0 / 0.8183 GB, free: 11.18 MB / 0.7761 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.0006209/0.008632, allocations: 0.5671 MB / 0.8188 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.00867, allocations: 18.31 kB / 0.8188 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.009144, allocations: 128.6 kB / 0.819 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.00937, allocations: 207.3 kB / 0.8192 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.009387, allocations: 16.86 kB / 0.8192 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.009411, allocations: 24.91 kB / 0.8192 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.009722, allocations: 314.2 kB / 0.8195 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.009733, allocations: 4.125 kB / 0.8195 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.009754, allocations: 12.38 kB / 0.8195 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.009784, allocations: 20.42 kB / 0.8195 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.009927, allocations: 91.5 kB / 0.8196 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009159/0.01084, allocations: 1.265 MB / 0.8209 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.01108, allocations: 100.2 kB / 0.8209 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.01112, allocations: 23.69 kB / 0.821 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.01113, allocations: 4.875 kB / 0.821 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.01116, allocations: 41.39 kB / 0.821 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.01116, allocations: 2.219 kB / 0.821 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002969/0.01146, allocations: 129.2 kB / 0.8211 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.01148, allocations: 55.41 kB / 0.8212 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01162, allocations: 255.7 kB / 0.8214 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.01164, allocations: 28.89 kB / 0.8215 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.01173, allocations: 222.8 kB / 0.8217 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.01175, allocations: 35.75 kB / 0.8217 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.01179, allocations: 39.36 kB / 0.8218 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.0119, allocations: 0.4962 MB / 0.8222 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.01194, allocations: 23.94 kB / 0.8223 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.01201, allocations: 111 kB / 0.8224 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.01213, allocations: 151.4 kB / 0.8225 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01213, allocations: 0 / 0.8225 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001893/0.01232, allocations: 163.8 kB / 0.8227 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01233, allocations: 8 kB / 0.8227 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01234, allocations: 1.094 kB / 0.8227 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.01251, allocations: 41.19 kB / 0.8227 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.01258, allocations: 31.92 kB / 0.8227 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007468/0.01333, allocations: 1.742 MB / 0.8244 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.01341, allocations: 28.89 kB / 0.8245 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01342, allocations: 8 kB / 0.8245 GB, free: 4.34 MB / 0.7761 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 8.243e-05/0.0135, allocations: 169.6 kB / 0.8246 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.01353, allocations: 15.91 kB / 0.8247 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.01354, allocations: 26.42 kB / 0.8247 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-07/0.01354, allocations: 0 / 0.8247 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01355, allocations: 0 / 0.8247 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01355, allocations: 7.281 kB / 0.8247 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.01387, allocations: 405 kB / 0.8251 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01388, allocations: 3.938 kB / 0.8251 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.01391, allocations: 15.98 kB / 0.8251 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.451e-05/0.014, allocations: 24.61 kB / 0.8251 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01401, allocations: 8 kB / 0.8251 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006696/0.01468, allocations: 1.734 MB / 0.8268 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01468, allocations: 4.469 kB / 0.8268 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01484, allocations: 247.5 kB / 0.8271 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.01488, allocations: 35.75 kB / 0.8271 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.01489, allocations: 3.938 kB / 0.8271 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.01495, allocations: 4 kB / 0.8271 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.01499, allocations: 19.97 kB / 0.8271 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.01499, allocations: 0 / 0.8271 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.036e-05/0.01507, allocations: 174.9 kB / 0.8273 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01507, allocations: 0 / 0.8273 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002188/0.01529, allocations: 55.89 kB / 0.8273 GB, free: 1.219 MB / 0.7761 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 7.924e-05/0.01537, allocations: 103.2 kB / 0.8274 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.01564, allocations: 253 kB / 0.8277 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01564, allocations: 0 / 0.8277 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01575, allocations: 201.5 kB / 0.8279 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01599, allocations: 28.55 kB / 0.8279 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.01669, allocations: 379.4 kB / 0.8283 GB, free: 196 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.01675, allocations: 91.95 kB / 0.8283 GB, free: 84 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.01681, allocations: 25.47 kB / 0.8284 GB, free: 60 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.01685, allocations: 16.5 kB / 0.8284 GB, free: 44 kB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.01685, allocations: 0 / 0.8284 GB, free: 44 kB / 0.7761 GB Notification: Performance of Templates: time 0.003906/0.02075, allocations: 1.902 MB / 0.8302 GB, free: 14.19 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.090841404860839]