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.001669/0.001669, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002305/0.002305, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.257/3.257, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_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.002064/0.002064, allocations: 66.23 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005452/0.3895, allocations: 3.329 MB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.3925, allocations: 1.507 MB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.3927, allocations: 7.938 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.3939, allocations: 342.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.3943, allocations: 155.2 kB / 1.351 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.3948, allocations: 159.6 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.3953, allocations: 342.5 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.3957, allocations: 200 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.396, allocations: 143.5 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.3963, allocations: 163.4 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3964, allocations: 20 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.3967, allocations: 171.6 kB / 1.352 GB, free: 9.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3968, allocations: 95.7 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.397, allocations: 119.4 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.3975, allocations: 366.6 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3975, allocations: 0 / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3975, allocations: 0 / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.3976, allocations: 3.938 kB / 1.352 GB, free: 9.359 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.001089/0.3986, allocations: 489.4 kB / 1.353 GB, free: 8.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3987, allocations: 16.03 kB / 1.353 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.494e-05/0.3987, allocations: 8.562 kB / 1.353 GB, free: 8.828 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.3988, allocations: 58.67 kB / 1.353 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.3995, allocations: 92.66 kB / 1.353 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.3999, allocations: 200 kB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3999, allocations: 16.81 kB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3999, allocations: 24.36 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.4005, allocations: 324.2 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4005, allocations: 0 / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.4006, allocations: 8 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.4006, allocations: 20.44 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.4011, allocations: 209.5 kB / 1.354 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.403, allocations: 1.463 MB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.4035, allocations: 126.5 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.4036, allocations: 36.84 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.4036, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4036, allocations: 34.56 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4036, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0006587/0.4043, allocations: 190.3 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4043, allocations: 55.41 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4046, allocations: 214.7 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4046, allocations: 25.7 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.4047, allocations: 183.9 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4048, allocations: 23.8 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.4048, allocations: 37.66 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.405, allocations: 330.8 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4051, allocations: 43.97 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4053, allocations: 116.5 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.4056, allocations: 164.4 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4056, allocations: 3.938 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003991/0.406, allocations: 210.1 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.406, allocations: 8 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.406, allocations: 4.281 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.4063, allocations: 32.78 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4064, allocations: 35.86 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.4078, allocations: 1.318 MB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.408, allocations: 23.88 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.408, allocations: 8 kB / 1.358 GB, free: 2.762 MB / 1.045 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.0002081/0.4082, allocations: 157.7 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.4082, allocations: 19.89 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.4083, allocations: 17.41 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4083, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4083, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4083, allocations: 4 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.4089, allocations: 454.4 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.409, allocations: 4 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.409, allocations: 15.94 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.4091, allocations: 24.84 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4091, allocations: 3.938 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.4102, allocations: 1.322 MB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4102, allocations: 0 / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4105, allocations: 240.3 kB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.4106, allocations: 23.83 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4106, allocations: 4 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4108, allocations: 11.98 kB / 1.36 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.4108, allocations: 3.938 kB / 1.36 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4108, allocations: 11.92 kB / 1.36 GB, free: 276 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001558/0.411, allocations: 143.2 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.411, allocations: 0 / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003719/0.4113, allocations: 63.84 kB / 1.361 GB, free: 68 kB / 1.045 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.0007365/0.4121, allocations: 0.7601 MB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.4126, allocations: 230.5 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4126, allocations: 0 / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.4128, allocations: 159.2 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4132, allocations: 43.55 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.416, allocations: 2.175 MB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.4164, allocations: 0.7515 MB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.4167, allocations: 29.47 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4168, allocations: 67.34 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.4168, allocations: 3.938 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.4452, allocations: 4.236 MB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 4.906 kB / 1.369 GB, free: 7.574 MB / 1.061 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.384682447998784]