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.001909/0.001909, allocations: 116.1 kB / 17.17 MB, free: 6 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.002053/0.002053, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.807/2.807, allocations: 476.7 MB / 0.7678 GB, free: 9.469 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",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.002811/0.002811, allocations: 64.17 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9762, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006349/0.9826, allocations: 3.276 MB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.9855, allocations: 1.478 MB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.9857, allocations: 9.25 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.9868, allocations: 344.2 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.9872, allocations: 149.1 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.9877, allocations: 157.6 kB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.9881, allocations: 331.8 kB / 1.285 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.9885, allocations: 200.2 kB / 1.285 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.9888, allocations: 150.9 kB / 1.285 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.9891, allocations: 155.6 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.9891, allocations: 20.16 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.9894, allocations: 181.7 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.9896, allocations: 89.27 kB / 1.285 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.9897, allocations: 121 kB / 1.285 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.9903, allocations: 364.1 kB / 1.286 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9903, allocations: 4 kB / 1.286 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9903, allocations: 0.9688 kB / 1.286 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.9903, allocations: 0 / 1.286 GB, free: 7.48 MB / 0.9981 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.001024/0.9913, allocations: 0.5504 MB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9913, allocations: 11.36 kB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.9914, allocations: 9.938 kB / 1.286 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.9915, allocations: 59.62 kB / 1.286 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.9922, allocations: 96.02 kB / 1.286 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.9926, allocations: 258.4 kB / 1.287 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.9926, allocations: 12.78 kB / 1.287 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.9926, allocations: 25.48 kB / 1.287 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.9932, allocations: 317.9 kB / 1.287 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.9932, allocations: 2.578 kB / 1.287 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.9932, allocations: 10.97 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.9933, allocations: 19.38 kB / 1.287 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.9937, allocations: 216 kB / 1.287 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.9955, allocations: 1.502 MB / 1.289 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.9959, allocations: 194.6 kB / 1.289 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.996, allocations: 42.12 kB / 1.289 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.996, allocations: 0 / 1.289 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.9961, allocations: 37.28 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.9961, allocations: 0 / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.9967, allocations: 264.8 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.9967, allocations: 57.23 kB / 1.289 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.9969, allocations: 208.1 kB / 1.29 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.9969, allocations: 26.8 kB / 1.29 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.9971, allocations: 176.4 kB / 1.29 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.9971, allocations: 32.34 kB / 1.29 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.9972, allocations: 35.66 kB / 1.29 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9973, allocations: 331.9 kB / 1.29 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.9974, allocations: 43.89 kB / 1.29 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.9976, allocations: 115.8 kB / 1.29 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.9979, allocations: 163.9 kB / 1.29 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9979, allocations: 1.219 kB / 1.29 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003952/0.9983, allocations: 213.4 kB / 1.291 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9983, allocations: 6.406 kB / 1.291 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9983, allocations: 2.25 kB / 1.291 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.9985, allocations: 36.12 kB / 1.291 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.9986, allocations: 36.48 kB / 1.291 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/1, allocations: 1.429 MB / 1.292 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/1, allocations: 19.92 kB / 1.292 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1, allocations: 6.344 kB / 1.292 GB, free: 2.082 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.000191/1, allocations: 156.3 kB / 1.292 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/1, allocations: 15.72 kB / 1.292 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/1.001, allocations: 20.42 kB / 1.292 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.001, allocations: 5.125 kB / 1.292 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.001, allocations: 1.438 kB / 1.292 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.001, allocations: 4.797 kB / 1.292 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/1.001, allocations: 494.4 kB / 1.293 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.001, allocations: 1.406 kB / 1.293 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/1.001, allocations: 10.61 kB / 1.293 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/1.001, allocations: 27.47 kB / 1.293 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.001, allocations: 5.688 kB / 1.293 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/1.003, allocations: 1.424 MB / 1.294 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.003, allocations: 0 / 1.294 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/1.003, allocations: 237.1 kB / 1.294 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/1.003, allocations: 100.2 kB / 1.295 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.003, allocations: 0.8438 kB / 1.295 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.003, allocations: 10.72 kB / 1.295 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/1.003, allocations: 8.797 kB / 1.295 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.003, allocations: 6.25 kB / 1.295 GB, free: 15.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001435/1.004, allocations: 145.8 kB / 1.295 GB, free: 15.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 0 / 1.295 GB, free: 15.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003621/1.004, allocations: 56.61 kB / 1.295 GB, free: 15.68 MB / 1.014 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.0006651/1.005, allocations: 0.7693 MB / 1.295 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005413/1.005, allocations: 226.8 kB / 1.296 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.005, allocations: 5.094 kB / 1.296 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.005, allocations: 158.1 kB / 1.296 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/1.006, allocations: 38.34 kB / 1.296 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/1.009, allocations: 2.165 MB / 1.298 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/1.009, allocations: 0.7541 MB / 1.299 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001224/1.009, allocations: 30.69 kB / 1.299 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.01, allocations: 61.39 kB / 1.299 GB, free: 12.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.01, allocations: 3.938 kB / 1.299 GB, free: 12.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/1.037, allocations: 4.116 MB / 1.303 GB, free: 11.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.3, allocations: 6.562 kB / 1.303 GB, free: 11.62 MB / 1.014 GB " [Timeout remaining time 289] (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: 17.645521356957033]