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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_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.005054/0.005054, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001457/0.001457, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.395/1.395, 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.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6435, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004862/0.6484, allocations: 3.218 MB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.6505, allocations: 1.367 MB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.6506, allocations: 11.94 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009985/0.6516, allocations: 344.6 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.6519, allocations: 143.2 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.6523, allocations: 151.6 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.6527, allocations: 330.9 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.6531, allocations: 243.7 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.6533, allocations: 139.5 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.6536, allocations: 151.5 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.6537, allocations: 16 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.654, allocations: 175.6 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.6541, allocations: 83.78 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.6542, allocations: 119.4 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.6547, allocations: 362.3 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6547, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6547, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6547, allocations: 8 kB / 1.227 GB, free: 11.22 MB / 0.9512 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.0008482/0.6556, allocations: 0.5377 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.6556, allocations: 8.031 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.6557, allocations: 58.72 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.6563, allocations: 84.67 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.6566, allocations: 267 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.6566, allocations: 12.81 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.6567, allocations: 16.38 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.6572, allocations: 324.4 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6572, allocations: 0 / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.6573, allocations: 4 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.6573, allocations: 20.42 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.6577, allocations: 209.6 kB / 1.228 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.6594, allocations: 1.494 MB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.6598, allocations: 207.6 kB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.6599, allocations: 44.91 kB / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.6599, allocations: 3.984 kB / 1.23 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.66, allocations: 38.5 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.66, allocations: 4 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.6606, allocations: 263.4 kB / 1.23 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6606, allocations: 51.41 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.6608, allocations: 211.7 kB / 1.231 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6609, allocations: 25.7 kB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.661, allocations: 176 kB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.661, allocations: 35.73 kB / 1.231 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.6611, allocations: 41.66 kB / 1.231 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6612, allocations: 326.8 kB / 1.231 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.6614, allocations: 44.03 kB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.6615, allocations: 115 kB / 1.231 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.6618, allocations: 172.3 kB / 1.231 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6618, allocations: 0 / 1.231 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004179/0.6622, allocations: 218.3 kB / 1.232 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.6622, allocations: 4 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6623, allocations: 4 kB / 1.232 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.6624, allocations: 28.78 kB / 1.232 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6625, allocations: 39.91 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.6637, allocations: 1.418 MB / 1.233 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.6639, allocations: 20.06 kB / 1.233 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.6639, allocations: 16 kB / 1.233 GB, free: 4.129 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.0001375/0.664, allocations: 145.7 kB / 1.233 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.6641, allocations: 19.86 kB / 1.233 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.6641, allocations: 21.39 kB / 1.233 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6641, allocations: 96 / 1.233 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6642, allocations: 7.938 kB / 1.233 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6642, allocations: 0 / 1.233 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.6648, allocations: 483.2 kB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6648, allocations: 0 / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.6649, allocations: 15.98 kB / 1.234 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.394e-05/0.665, allocations: 24.78 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.665, allocations: 7.938 kB / 1.234 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.6661, allocations: 1.433 MB / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6662, allocations: 3.938 kB / 1.235 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.6665, allocations: 240.4 kB / 1.235 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.6666, allocations: 101 kB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6666, allocations: 0 / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6667, allocations: 8 kB / 1.236 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.6668, allocations: 7.984 kB / 1.236 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.6668, allocations: 8 kB / 1.236 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001415/0.6669, allocations: 153.4 kB / 1.236 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6669, allocations: 0 / 1.236 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003243/0.6673, allocations: 59.83 kB / 1.236 GB, free: 1.168 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.0006176/0.6679, allocations: 0.7723 MB / 1.237 GB, free: 372 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.6683, allocations: 230.5 kB / 1.237 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6683, allocations: 0 / 1.237 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.6686, allocations: 163.2 kB / 1.237 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.669, allocations: 46.67 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.6714, allocations: 2.139 MB / 1.239 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6718, allocations: 0.7554 MB / 1.24 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.542e-05/0.6719, allocations: 25.53 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.672, allocations: 59.41 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.672, allocations: 0 / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.7, allocations: 4.009 MB / 1.244 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.326/10.03, allocations: 14.58 kB / 1.244 GB, free: 8.883 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/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