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.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: 113 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.002173/0.002173, allocations: 208.3 kB / 22.25 MB, free: 5.086 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.398/3.398, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002052/0.002052, allocations: 71.41 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005599/0.3956, allocations: 3.344 MB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.3983, allocations: 1.5 MB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.3985, allocations: 11.94 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3997, allocations: 343.6 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.4002, allocations: 155.2 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4006, allocations: 159.6 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.4011, allocations: 334.8 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.4016, allocations: 208 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.4019, allocations: 147.5 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.4022, allocations: 163.4 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.4023, allocations: 20 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.4026, allocations: 179.6 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4027, allocations: 87.72 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.4029, allocations: 127.3 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.4034, allocations: 362.7 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4034, allocations: 0 / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4034, allocations: 0 / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4034, allocations: 0 / 1.36 GB, free: 1.344 MB / 1.045 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.0009894/0.4044, allocations: 489.4 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4045, allocations: 8.031 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.4045, allocations: 58.67 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006895/0.4052, allocations: 92.7 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4056, allocations: 200 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4056, allocations: 16.81 kB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4056, allocations: 24.31 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.4062, allocations: 320.4 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4062, allocations: 0 / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.4062, allocations: 8 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.4062, allocations: 24.42 kB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.4067, allocations: 209.6 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.4085, allocations: 1.455 MB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.4089, allocations: 126.5 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.409, allocations: 36.84 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4091, allocations: 0 / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4091, allocations: 38.56 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.4091, allocations: 0 / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.4097, allocations: 186.3 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4097, allocations: 51.41 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.41, allocations: 214.9 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.41, allocations: 25.7 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4101, allocations: 183.9 kB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4101, allocations: 31.73 kB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.4102, allocations: 29.72 kB / 1.363 GB, free: 13.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4104, allocations: 330.8 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4105, allocations: 43.97 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.4106, allocations: 117.9 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.4109, allocations: 168.4 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4109, allocations: 0 / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004055/0.4113, allocations: 214.1 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4113, allocations: 4 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4113, allocations: 4.281 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.4115, allocations: 32.78 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4116, allocations: 31.92 kB / 1.364 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.4128, allocations: 1.33 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.413, allocations: 19.84 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.413, allocations: 8 kB / 1.366 GB, free: 10.77 MB / 1.061 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.000164/0.4132, allocations: 165.7 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.4132, allocations: 19.84 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.4133, allocations: 17.41 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4133, allocations: 4 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4133, allocations: 0 / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4133, allocations: 3.984 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.4139, allocations: 454.3 kB / 1.366 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4139, allocations: 0 / 1.366 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.414, allocations: 15.94 kB / 1.366 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-05/0.4141, allocations: 24.84 kB / 1.366 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4141, allocations: 3.984 kB / 1.366 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4152, allocations: 1.314 MB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4152, allocations: 4.031 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4156, allocations: 236.3 kB / 1.368 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.4156, allocations: 27.83 kB / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4156, allocations: 0 / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4158, allocations: 11.98 kB / 1.368 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4158, allocations: 11.92 kB / 1.368 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.4158, allocations: 4 kB / 1.368 GB, free: 8.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00015/0.416, allocations: 156.3 kB / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.416, allocations: 0 / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003443/0.4163, allocations: 59.84 kB / 1.368 GB, free: 8.059 MB / 1.061 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.0006613/0.417, allocations: 0.7684 MB / 1.369 GB, free: 7.258 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.4174, allocations: 226.6 kB / 1.369 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4174, allocations: 0 / 1.369 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.4177, allocations: 162.6 kB / 1.369 GB, free: 6.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.418, allocations: 39.84 kB / 1.369 GB, free: 6.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.4207, allocations: 2.169 MB / 1.371 GB, free: 4.508 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.4211, allocations: 0.7554 MB / 1.372 GB, free: 3.723 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.4212, allocations: 25.47 kB / 1.372 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.4213, allocations: 67.41 kB / 1.372 GB, free: 3.637 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4213, allocations: 0 / 1.372 GB, free: 3.637 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.4571, allocations: 4.204 MB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.13, allocations: 3.984 kB / 1.376 GB, free: 15.59 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.32684769597836]