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.001666/0.001666, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002142/0.002142, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.012 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.989/2.989, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] 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.002056/0.002056, allocations: 64.36 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 169.9 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005329/0.36, allocations: 3.35 MB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3627, allocations: 1.511 MB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3628, allocations: 7.938 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.3639, allocations: 348 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.3643, allocations: 155.2 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.3647, allocations: 159.6 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.3652, allocations: 330.9 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.3656, allocations: 203.6 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.3658, allocations: 143.5 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.3661, allocations: 163.4 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.3662, allocations: 20 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.3665, allocations: 179.6 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3666, allocations: 83.73 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3668, allocations: 127.4 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.3673, allocations: 362.6 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3673, allocations: 4 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3673, allocations: 0 / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.3673, allocations: 3.938 kB / 1.29 GB, free: 4.645 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.0009722/0.3683, allocations: 481.3 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3683, allocations: 12.03 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.694e-05/0.3684, allocations: 58.73 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.3691, allocations: 96.64 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3695, allocations: 191.6 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3695, allocations: 12.81 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.3695, allocations: 20.36 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.3701, allocations: 324.4 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3701, allocations: 3.938 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.3701, allocations: 8 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.3702, allocations: 16.44 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.3706, allocations: 217.5 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.3724, allocations: 1.459 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.3728, allocations: 122.6 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3729, allocations: 40.84 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.373, allocations: 3.984 kB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.373, allocations: 34.56 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.373, allocations: 0 / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.3736, allocations: 190.2 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3737, allocations: 59.41 kB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3739, allocations: 210.9 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3739, allocations: 25.7 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.374, allocations: 180 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3741, allocations: 27.75 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.3741, allocations: 41.66 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3743, allocations: 326.8 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3744, allocations: 47.97 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.3746, allocations: 116.4 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3748, allocations: 164.4 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3748, allocations: 4 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004431/0.3753, allocations: 210.1 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3753, allocations: 8 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3753, allocations: 0 / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.3755, allocations: 37.16 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3756, allocations: 35.86 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.3768, allocations: 1.322 MB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.377, allocations: 23.86 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.377, allocations: 8 kB / 1.296 GB, free: 14.06 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.0001533/0.3772, allocations: 149.7 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.3772, allocations: 15.91 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.3772, allocations: 25.48 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3772, allocations: 0 / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3772, allocations: 0 / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3773, allocations: 4 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/0.3779, allocations: 462.6 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3779, allocations: 3.984 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.378, allocations: 8 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.23e-05/0.3781, allocations: 28.84 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3781, allocations: 0 / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3792, allocations: 1.33 MB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3792, allocations: 0 / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3795, allocations: 240.2 kB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.3796, allocations: 23.83 kB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3796, allocations: 8.094 kB / 1.298 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3798, allocations: 4 kB / 1.298 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3798, allocations: 7.984 kB / 1.298 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3798, allocations: 4 kB / 1.298 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001652/0.38, allocations: 151.2 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003502/0.3803, allocations: 55.89 kB / 1.299 GB, free: 11.36 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.0006544/0.381, allocations: 0.7678 MB / 1.299 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3814, allocations: 230.8 kB / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3814, allocations: 0 / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3817, allocations: 158.6 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.382, allocations: 38.84 kB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3847, allocations: 2.168 MB / 1.302 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3851, allocations: 0.7515 MB / 1.303 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.3852, allocations: 29.47 kB / 1.303 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.3853, allocations: 55.42 kB / 1.303 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3853, allocations: 0 / 1.303 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.4213, allocations: 4.227 MB / 1.307 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 0 / 1.307 GB, free: 2.883 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.19536881498061]