Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001434/0.001434, allocations: 104.8 kB / 16.41 MB, free: 6.508 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.001411/0.001411, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9712, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005433/0.9767, allocations: 3.226 MB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.9791, allocations: 1.36 MB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.9794, allocations: 7.938 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.9806, allocations: 342.7 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.9812, allocations: 151.2 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.9817, allocations: 147.6 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.9822, allocations: 326.9 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.9826, allocations: 247.7 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.9829, allocations: 139.5 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.9832, allocations: 151.4 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.9832, allocations: 20 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.9836, allocations: 171.6 kB / 1.215 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.9836, allocations: 83.78 kB / 1.215 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.9838, allocations: 123.4 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.9843, allocations: 356.5 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.9843, allocations: 7.984 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9843, allocations: 0 / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9843, allocations: 0 / 1.215 GB, free: 6.785 MB / 0.9356 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.0009444/0.9852, allocations: 0.538 MB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9853, allocations: 8.031 kB / 1.216 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.9859, allocations: 84.48 kB / 1.216 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.9862, allocations: 251.8 kB / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.9862, allocations: 16.8 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.9863, allocations: 24.36 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.9867, allocations: 316.7 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9868, allocations: 3.938 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.9868, allocations: 8 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.9868, allocations: 16.44 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.9872, allocations: 217.5 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.9887, allocations: 1.486 MB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.9891, allocations: 203.6 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.9892, allocations: 48.84 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.9893, allocations: 0 / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.9893, allocations: 30.56 kB / 1.218 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.9893, allocations: 0 / 1.218 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000573/0.9899, allocations: 267.3 kB / 1.218 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9899, allocations: 63.33 kB / 1.219 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.9901, allocations: 207.7 kB / 1.219 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.9902, allocations: 25.7 kB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.9903, allocations: 175.7 kB / 1.219 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.9903, allocations: 31.55 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.9904, allocations: 37.66 kB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9905, allocations: 330.8 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.9906, allocations: 47.97 kB / 1.219 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.9907, allocations: 106.3 kB / 1.219 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.991, allocations: 168.4 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.991, allocations: 7.984 kB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003472/0.9913, allocations: 206 kB / 1.22 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9914, allocations: 8 kB / 1.22 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9914, allocations: 0 / 1.22 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.9915, allocations: 33.12 kB / 1.22 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.9917, allocations: 35.92 kB / 1.22 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.9928, allocations: 1.429 MB / 1.221 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.9929, allocations: 19.78 kB / 1.221 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.993, allocations: 8 kB / 1.221 GB, free: 15.79 MB / 0.9512 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.0001945/0.9932, allocations: 153.7 kB / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.9932, allocations: 15.81 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.9933, allocations: 21.5 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9933, allocations: 0 / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9933, allocations: 0 / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9933, allocations: 4.078 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.9939, allocations: 495.4 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9939, allocations: 0 / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.994, allocations: 8 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/0.994, allocations: 32.83 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.9941, allocations: 7.938 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009509/0.995, allocations: 1.414 MB / 1.223 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.995, allocations: 4.109 kB / 1.223 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.9953, allocations: 240 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.9954, allocations: 96.92 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.9954, allocations: 8.078 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9956, allocations: 8 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.9956, allocations: 7.984 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.9956, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001244/0.9958, allocations: 145.5 kB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9958, allocations: 0 / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003371/0.9961, allocations: 63.72 kB / 1.224 GB, free: 12.84 MB / 0.9512 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.000124/0.9962, allocations: 115.1 kB / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.9967, allocations: 226.6 kB / 1.224 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9967, allocations: 0 / 1.224 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.9969, allocations: 163.1 kB / 1.224 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.9973, allocations: 43.23 kB / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.998, allocations: 421.4 kB / 1.225 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.9983, allocations: 0.7631 MB / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.9984, allocations: 15.44 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.9984, allocations: 0 / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.005272/1.004, allocations: 3.244 MB / 1.229 GB, free: 7.793 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches