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.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.001315/0.001315, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001574/0.001574, allocations: 218.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.8 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.48 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3167, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005537/0.3222, allocations: 3.351 MB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.3252, allocations: 1.5 MB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.3253, allocations: 15.94 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3264, allocations: 346.7 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.3268, allocations: 151.2 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.3272, allocations: 159.5 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.3277, allocations: 330.9 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.3281, allocations: 203.6 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3283, allocations: 151.5 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3287, allocations: 159.4 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.3287, allocations: 20 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.329, allocations: 175.6 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3292, allocations: 87.73 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3293, allocations: 123.4 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3298, allocations: 366.6 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3298, allocations: 3.938 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3298, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3298, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 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.001044/0.3309, allocations: 489.3 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3309, allocations: 8.031 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.314e-05/0.331, allocations: 54.73 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006959/0.3317, allocations: 100.7 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3321, allocations: 199.5 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3321, allocations: 12.81 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.3321, allocations: 20.38 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.3327, allocations: 320.4 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3327, allocations: 0 / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.3327, allocations: 11.98 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.3328, allocations: 16.44 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.3332, allocations: 217.5 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3349, allocations: 1.451 MB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.3353, allocations: 122.5 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.3354, allocations: 36.84 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3354, allocations: 4 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.3354, allocations: 46.53 kB / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3354, allocations: 0 / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006468/0.3361, allocations: 186.2 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3361, allocations: 51.41 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3364, allocations: 218.9 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3364, allocations: 25.7 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3365, allocations: 176 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3365, allocations: 27.75 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.3366, allocations: 49.66 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3368, allocations: 322.8 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.3369, allocations: 43.97 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.337, allocations: 116.5 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.3373, allocations: 168.3 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3373, allocations: 0 / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003904/0.3377, allocations: 218.1 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3377, allocations: 4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3377, allocations: 4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.3379, allocations: 29.06 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.338, allocations: 39.92 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3391, allocations: 1.326 MB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3393, allocations: 23.83 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3393, allocations: 4 kB / 1.296 GB, free: 13.94 MB / 0.9981 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.0001465/0.3394, allocations: 145.8 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3395, allocations: 19.89 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3395, allocations: 17.41 kB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3395, allocations: 8.062 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3395, allocations: 0 / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3395, allocations: 3.938 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.3402, allocations: 462.3 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3402, allocations: 4.062 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.3402, allocations: 11.94 kB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.3403, allocations: 28.84 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3403, allocations: 0 / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.3414, allocations: 1.326 MB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3414, allocations: 0 / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3417, allocations: 236.2 kB / 1.298 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3418, allocations: 27.83 kB / 1.298 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3418, allocations: 0 / 1.298 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3419, allocations: 16.05 kB / 1.298 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.342, allocations: 4 kB / 1.298 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.342, allocations: 0 / 1.298 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001396/0.3421, allocations: 155.2 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003418/0.3424, allocations: 59.83 kB / 1.299 GB, free: 11.24 MB / 0.9981 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.0006636/0.3431, allocations: 0.7601 MB / 1.299 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.3436, allocations: 238.9 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3436, allocations: 4.062 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.3438, allocations: 162.6 kB / 1.3 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3442, allocations: 33.98 kB / 1.3 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3468, allocations: 2.16 MB / 1.302 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3472, allocations: 0.7515 MB / 1.303 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.3473, allocations: 29.86 kB / 1.303 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.3474, allocations: 59.41 kB / 1.303 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3474, allocations: 0 / 1.303 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.3806, allocations: 4.217 MB / 1.307 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 6.031 kB / 1.307 GB, free: 2.762 MB / 0.9981 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable sen.V in file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.585451762999583]