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.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.12 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2939, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00505/0.299, allocations: 3.217 MB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3012, allocations: 1.367 MB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3014, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3024, allocations: 342.5 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.3027, allocations: 147.2 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3031, allocations: 151.5 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.3035, allocations: 326.9 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.3039, allocations: 251.9 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.3041, allocations: 143.5 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3044, allocations: 147.5 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.3045, allocations: 20 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.3048, allocations: 167.6 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.3049, allocations: 91.72 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.305, allocations: 123.4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.3054, allocations: 343 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3055, allocations: 3.938 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3055, allocations: 3.938 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3055, allocations: 0 / 1.07 GB, free: 7.656 MB / 0.8262 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.0008933/0.3064, allocations: 0.538 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3064, allocations: 16.03 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.3065, allocations: 54.73 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006112/0.3071, allocations: 80.58 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3074, allocations: 251.8 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3074, allocations: 12.81 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.3075, allocations: 20.38 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.308, allocations: 320.4 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.308, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.308, allocations: 8 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.3081, allocations: 20.42 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.3084, allocations: 213.5 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.31, allocations: 1.502 MB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.3104, allocations: 195.7 kB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.3105, allocations: 48.83 kB / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3105, allocations: 0 / 1.073 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3106, allocations: 30.56 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3106, allocations: 4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.3111, allocations: 271.3 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3112, allocations: 51.41 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3114, allocations: 211.6 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3114, allocations: 29.64 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.3115, allocations: 171.7 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.3115, allocations: 31.55 kB / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.3116, allocations: 37.7 kB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3117, allocations: 330.8 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3118, allocations: 47.97 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.312, allocations: 108.5 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.3122, allocations: 164.4 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3122, allocations: 4 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003724/0.3126, allocations: 210.2 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3126, allocations: 8 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3126, allocations: 0 / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.3128, allocations: 36.77 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3129, allocations: 35.92 kB / 1.075 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.314, allocations: 1.429 MB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3141, allocations: 20 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3141, allocations: 8 kB / 1.077 GB, free: 0.5898 MB / 0.8262 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.0001184/0.3143, allocations: 145.7 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3143, allocations: 15.81 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3144, allocations: 25.39 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3144, allocations: 0 / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3144, allocations: 0 / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3144, allocations: 4 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.315, allocations: 491.1 kB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.315, allocations: 0 / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.3151, allocations: 11.98 kB / 1.077 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-05/0.3152, allocations: 24.91 kB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3152, allocations: 8 kB / 1.077 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009531/0.3161, allocations: 1.429 MB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3162, allocations: 96 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3165, allocations: 244 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.3165, allocations: 100.9 kB / 1.079 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3166, allocations: 0 / 1.079 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3167, allocations: 16.05 kB / 1.079 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3167, allocations: 7.984 kB / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3168, allocations: 0 / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001256/0.3169, allocations: 153.4 kB / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3169, allocations: 0 / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003293/0.3172, allocations: 55.84 kB / 1.079 GB, free: 13.64 MB / 0.8419 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.0005411/0.3178, allocations: 0.7776 MB / 1.08 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.3182, allocations: 230.5 kB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3182, allocations: 0.5625 kB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.3185, allocations: 162.7 kB / 1.08 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3188, allocations: 38.78 kB / 1.08 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3211, allocations: 2.145 MB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3214, allocations: 0.7515 MB / 1.083 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.3215, allocations: 25.53 kB / 1.083 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.3216, allocations: 59.41 kB / 1.083 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3216, allocations: 4 kB / 1.083 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3439, allocations: 3.94 MB / 1.087 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.937/9.281, allocations: 4 kB / 1.087 GB, free: 5.418 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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