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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007411/0.007411, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001424/0.001424, allocations: 188 kB / 16.67 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 63.91 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8783, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005199/0.8835, allocations: 3.212 MB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.886, allocations: 1.367 MB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.8863, allocations: 4 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.8875, allocations: 342.5 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.888, allocations: 151.2 kB / 1.212 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.8884, allocations: 147.6 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.8889, allocations: 330.9 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.8894, allocations: 250 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.8897, allocations: 143.5 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.8901, allocations: 147.5 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.8902, allocations: 20 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.8906, allocations: 159.7 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.8907, allocations: 87.73 kB / 1.213 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.8909, allocations: 119.4 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.8914, allocations: 362.8 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8914, allocations: 4 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8914, allocations: 4 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.8915, allocations: 0 / 1.214 GB, free: 6.688 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.0009833/0.8925, allocations: 0.538 MB / 1.214 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8925, allocations: 12.03 kB / 1.214 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/0.8926, allocations: 54.73 kB / 1.214 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.8932, allocations: 80.48 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.8936, allocations: 255.8 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.8936, allocations: 20.8 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.8937, allocations: 16.38 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.8942, allocations: 312.5 kB / 1.215 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.8942, allocations: 3.938 kB / 1.215 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.8942, allocations: 12 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.8943, allocations: 16.42 kB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.8946, allocations: 209.6 kB / 1.215 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.8962, allocations: 1.498 MB / 1.217 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.8967, allocations: 207.6 kB / 1.217 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.8968, allocations: 40.84 kB / 1.217 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.8968, allocations: 7.938 kB / 1.217 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.8968, allocations: 30.62 kB / 1.217 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8968, allocations: 4 kB / 1.217 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.8974, allocations: 263.5 kB / 1.217 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.8975, allocations: 59.34 kB / 1.217 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.8977, allocations: 211.6 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.8977, allocations: 29.7 kB / 1.218 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.8978, allocations: 175.7 kB / 1.218 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.8978, allocations: 27.56 kB / 1.218 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.8979, allocations: 41.7 kB / 1.218 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.898, allocations: 322.8 kB / 1.218 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.8981, allocations: 43.97 kB / 1.218 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.8983, allocations: 118.1 kB / 1.218 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.8985, allocations: 164.4 kB / 1.218 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8985, allocations: 0 / 1.218 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003743/0.8989, allocations: 218.2 kB / 1.219 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8989, allocations: 4 kB / 1.219 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8989, allocations: 4 kB / 1.219 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.8991, allocations: 28.78 kB / 1.219 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8993, allocations: 31.98 kB / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.9004, allocations: 1.421 MB / 1.22 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.9006, allocations: 20 kB / 1.22 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.9006, allocations: 11.94 kB / 1.22 GB, free: 15.62 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.0001348/0.9007, allocations: 153.7 kB / 1.22 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.9008, allocations: 15.81 kB / 1.22 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.9008, allocations: 17.41 kB / 1.22 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.9008, allocations: 7.984 kB / 1.22 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.9008, allocations: 0 / 1.22 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.9008, allocations: 0 / 1.22 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.9014, allocations: 495.1 kB / 1.221 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9014, allocations: 96 / 1.221 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.9015, allocations: 15.94 kB / 1.221 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.244e-05/0.9016, allocations: 20.84 kB / 1.221 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.9016, allocations: 7.984 kB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009418/0.9026, allocations: 1.421 MB / 1.222 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9026, allocations: 4.156 kB / 1.222 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.9029, allocations: 244 kB / 1.223 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.903, allocations: 96.91 kB / 1.223 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.903, allocations: 4 kB / 1.223 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.9031, allocations: 7.984 kB / 1.223 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.9032, allocations: 4 kB / 1.223 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.9032, allocations: 11.98 kB / 1.223 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001236/0.9033, allocations: 149.5 kB / 1.223 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9033, allocations: 0 / 1.223 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003343/0.9037, allocations: 59.78 kB / 1.223 GB, free: 12.67 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.0005527/0.9042, allocations: 0.7677 MB / 1.224 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.9047, allocations: 230.5 kB / 1.224 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.9047, allocations: 0 / 1.224 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.9049, allocations: 167.1 kB / 1.224 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.9053, allocations: 39.75 kB / 1.224 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.9077, allocations: 2.128 MB / 1.226 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.9081, allocations: 0.7595 MB / 1.227 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.9082, allocations: 37.5 kB / 1.227 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.9083, allocations: 55.36 kB / 1.227 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.9083, allocations: 4 kB / 1.227 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.933, allocations: 4.068 MB / 1.231 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/9.991, allocations: 7.312 kB / 1.231 GB, free: 4.352 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > 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